From: Christian Dywan Date: Mon, 30 Nov 2009 18:34:31 +0000 (+0100) Subject: Emit the bookmark proxy signal instead of connecting a new handler X-Git-Url: https://spindle.queued.net/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=dd196dc942dbdfbf304dd4f83ff9ddb108c00cba;p=midori Emit the bookmark proxy signal instead of connecting a new handler --- 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; }