aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTed Gould <ted@gould.cx>2011-09-16 16:37:06 -0500
committerTed Gould <ted@gould.cx>2011-09-16 16:37:06 -0500
commit21a6e471080b9a2f2a7e15967e9584a2d606e02b (patch)
tree4a17da99e7b09e3e318af4c469d6d0a6dc1e599c
parent2f9133d26d836d4fcca9b917b5e8e075ac5c5737 (diff)
downloadayatana-indicator-application-21a6e471080b9a2f2a7e15967e9584a2d606e02b.tar.gz
ayatana-indicator-application-21a6e471080b9a2f2a7e15967e9584a2d606e02b.tar.bz2
ayatana-indicator-application-21a6e471080b9a2f2a7e15967e9584a2d606e02b.zip
Ensure we set a default value for aicon
-rw-r--r--src/application-service-appstore.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/application-service-appstore.c b/src/application-service-appstore.c
index 7b9c652..76e1c4a 100644
--- a/src/application-service-appstore.c
+++ b/src/application-service-appstore.c
@@ -527,6 +527,8 @@ got_all_properties (GObject * source_object, GAsyncResult * res,
g_free(app->aicon);
if (aicon_name != NULL) {
app->aicon = g_variant_dup_string(aicon_name, NULL);
+ } else {
+ app->aicon = NULL;
}
g_free(app->icon_theme_path);