diff options
author | Sense Hofstede <sense@ubuntu.com> | 2010-07-22 17:36:12 +0200 |
---|---|---|
committer | Sense Hofstede <sense@ubuntu.com> | 2010-07-22 17:36:12 +0200 |
commit | 0a8c09e4f8ce284788845f465dcc826a67602cd0 (patch) | |
tree | e7ffa39541e9debe81f5bd60f57516c64ee0f5b6 /src/indicator-application.c | |
parent | 0dbf34a46c0c39f4e4bcd6ac1de72523cb7e3b63 (diff) | |
download | libayatana-appindicator-0a8c09e4f8ce284788845f465dcc826a67602cd0.tar.gz libayatana-appindicator-0a8c09e4f8ce284788845f465dcc826a67602cd0.tar.bz2 libayatana-appindicator-0a8c09e4f8ce284788845f465dcc826a67602cd0.zip |
Fixed two G_PARAM_SPECS and made it even more possible to remove the
custom icon theme path.
Diffstat (limited to 'src/indicator-application.c')
-rw-r--r-- | src/indicator-application.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/indicator-application.c b/src/indicator-application.c index 1a7467d..066ea63 100644 --- a/src/indicator-application.c +++ b/src/indicator-application.c @@ -568,13 +568,13 @@ application_icon_theme_path_changed (DBusGProxy * proxy, gint position, const gc return; } - if (icon_theme_path[0] != '\0' && g_strcmp0(icon_theme_path, app->icon_theme_path) != 0) { + if (g_strcmp0(icon_theme_path, app->icon_theme_path) != 0) { if(app->icon_theme_path != NULL) { theme_dir_unref(application, app->icon_theme_path); g_free(app->icon_theme_path); app->icon_theme_path = NULL; } - if (icon_theme_path != NULL ) { + if (icon_theme_path != NULL && icon_theme_path[0] != '\0') { app->icon_theme_path = g_strdup(icon_theme_path); theme_dir_ref(application, app->icon_theme_path); } |