aboutsummaryrefslogtreecommitdiff
path: root/src/app-indicator.c
diff options
context:
space:
mode:
authorSense Egbert Hofstede <sense@ubuntu.com>2010-08-05 15:51:53 +0200
committerSense Egbert Hofstede <sense@ubuntu.com>2010-08-05 15:51:53 +0200
commit247e5a1ac3f714f831bea27fa87170b0ac7fec64 (patch)
tree0d809ef9c73ef069fa7c43f83c202603c8edf80a /src/app-indicator.c
parent0a8c09e4f8ce284788845f465dcc826a67602cd0 (diff)
downloadlibayatana-appindicator-247e5a1ac3f714f831bea27fa87170b0ac7fec64.tar.gz
libayatana-appindicator-247e5a1ac3f714f831bea27fa87170b0ac7fec64.tar.bz2
libayatana-appindicator-247e5a1ac3f714f831bea27fa87170b0ac7fec64.zip
Passing the updated icon theme path along with the DBus signal, saving a DBus call.
Diffstat (limited to 'src/app-indicator.c')
-rw-r--r--src/app-indicator.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/app-indicator.c b/src/app-indicator.c
index 7b74495..fdfcc23 100644
--- a/src/app-indicator.c
+++ b/src/app-indicator.c
@@ -360,8 +360,8 @@ app_indicator_class_init (AppIndicatorClass *klass)
G_SIGNAL_RUN_LAST,
G_STRUCT_OFFSET (AppIndicatorClass, new_icon_theme_path),
NULL, NULL,
- g_cclosure_marshal_VOID__VOID,
- G_TYPE_NONE, 0, G_TYPE_NONE);
+ g_cclosure_marshal_VOID__STRING,
+ G_TYPE_NONE, 1, G_TYPE_STRING);
/* Initialize the object as a DBus type */
dbus_g_object_type_install_info(APP_INDICATOR_TYPE,
@@ -1168,7 +1168,7 @@ app_indicator_set_icon_theme_path (AppIndicator *self, const gchar *icon_theme_p
self->priv->icon_theme_path = g_strdup(icon_theme_path);
- g_signal_emit (self, signals[NEW_ICON_THEME_PATH], 0, TRUE);
+ g_signal_emit (self, signals[NEW_ICON_THEME_PATH], 0, g_strdup(self->priv->icon_theme_path));
}
return;