aboutsummaryrefslogtreecommitdiff
path: root/libdbusmenu-gtk
diff options
context:
space:
mode:
authorTed Gould <ted@gould.cx>2012-03-02 15:26:08 -0600
committerTed Gould <ted@gould.cx>2012-03-02 15:26:08 -0600
commite9c3459c80d3db095712b93992548ee03ae80b90 (patch)
tree1a06e56b56732720322294fa1e802799184c14a8 /libdbusmenu-gtk
parente11292ff7e55e6eeeef7ebb9260b238601db49c7 (diff)
downloadlibdbusmenu-e9c3459c80d3db095712b93992548ee03ae80b90.tar.gz
libdbusmenu-e9c3459c80d3db095712b93992548ee03ae80b90.tar.bz2
libdbusmenu-e9c3459c80d3db095712b93992548ee03ae80b90.zip
Don't need to setup this signal twice
Diffstat (limited to 'libdbusmenu-gtk')
-rw-r--r--libdbusmenu-gtk/parser.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/libdbusmenu-gtk/parser.c b/libdbusmenu-gtk/parser.c
index 1092485..70ffcea 100644
--- a/libdbusmenu-gtk/parser.c
+++ b/libdbusmenu-gtk/parser.c
@@ -754,9 +754,6 @@ update_icon (DbusmenuMenuitem *menuitem, ParserData * pdata, GtkImageMenuItem *
pdata->theme_changed_sig = 0;
}
- pdata->theme_changed_sig = g_signal_connect(G_OBJECT(gtk_icon_theme_get_default()),
- "changed", G_CALLBACK(theme_changed_cb), gmenuitem);
-
if (pdata->image != NULL) {
g_signal_handlers_disconnect_by_func(pdata->image, G_CALLBACK(image_notify_cb), menuitem);
g_object_remove_weak_pointer(G_OBJECT(pdata->image), (gpointer*)&pdata->image);