From dd196dc942dbdfbf304dd4f83ff9ddb108c00cba Mon Sep 17 00:00:00 2001 From: Christian Dywan Date: Mon, 30 Nov 2009 19:34:31 +0100 Subject: [PATCH] Emit the bookmark proxy signal instead of connecting a new handler --- katze/katze-arrayaction.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/katze/katze-arrayaction.c b/katze/katze-arrayaction.c index 53209b8c..c64def82 100644 --- a/katze/katze-arrayaction.c +++ b/katze/katze-arrayaction.c @@ -376,9 +376,7 @@ katze_array_action_proxy_clicked_cb (GtkWidget* proxy, array = (KatzeArray*)g_object_get_data (G_OBJECT (proxy), "KatzeArray"); if (KATZE_IS_ITEM (array)) { - g_object_set_data (G_OBJECT (proxy), "KatzeItem", array); - g_signal_connect (proxy, "clicked", - G_CALLBACK (katze_array_action_menu_activate_cb), array_action); + g_signal_emit (array_action, signals[ACTIVATE_ITEM], 0, array); return; } -- 2.39.5