diff options
author | Ted Gould <ted@gould.cx> | 2011-03-02 15:45:07 -0600 |
---|---|---|
committer | Ted Gould <ted@gould.cx> | 2011-03-02 15:45:07 -0600 |
commit | 7b316782e0acd1ef0e91f41feca4ddb9c4ac5c4f (patch) | |
tree | dbb696bbdd5b7700f5932e63238387cb7335c1cf | |
parent | 63807a063a5545df5b6dc5ea51e8d3dc895eb014 (diff) | |
parent | 6a1c35a64e0dba477bd654d682f1e90c95361f78 (diff) | |
download | ayatana-indicator-application-7b316782e0acd1ef0e91f41feca4ddb9c4ac5c4f.tar.gz ayatana-indicator-application-7b316782e0acd1ef0e91f41feca4ddb9c4ac5c4f.tar.bz2 ayatana-indicator-application-7b316782e0acd1ef0e91f41feca4ddb9c4ac5c4f.zip |
Protect from the accessible description being NULL
-rw-r--r-- | src/application-service-appstore.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/application-service-appstore.c b/src/application-service-appstore.c index 10feef5..5f343e5 100644 --- a/src/application-service-appstore.c +++ b/src/application-service-appstore.c @@ -1238,9 +1238,10 @@ get_applications (ApplicationServiceAppstore * appstore) } g_variant_builder_add (&builder, "(sisossss)", app->icon, - position++, app->dbus_name, app->menu, - app->icon_theme_path, app->label, - app->guide, app->icon_desc); + position++, app->dbus_name, app->menu, + app->icon_theme_path, app->label, + app->guide, + (app->icon_desc != NULL) ? app->icon_desc : ""); } out = g_variant_builder_end(&builder); |