From 9cd23731cce78ed64191f41ea32815069600c79e Mon Sep 17 00:00:00 2001 From: Xan Lopez Date: Sat, 5 Dec 2009 00:19:23 +0200 Subject: Revert "Do not use deprecated GtkButton APIs" This reverts commit 167e60123c1024d539dc02f4a16f7de994bd1c29. I misread the documentation about this, the signals do not do the same than the old functions. --- src/bookmarks/ephy-bookmark-properties.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/bookmarks/ephy-bookmark-properties.c') diff --git a/src/bookmarks/ephy-bookmark-properties.c b/src/bookmarks/ephy-bookmark-properties.c index 76ce00105..ed8f9b2cd 100644 --- a/src/bookmarks/ephy-bookmark-properties.c +++ b/src/bookmarks/ephy-bookmark-properties.c @@ -222,7 +222,7 @@ similar_deactivate_cb (GtkMenuShell *ms, GtkWidget *button) { gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (button), FALSE); - g_signal_emit_by_name (button, "button-release-event"); + gtk_button_released (GTK_BUTTON (button)); } static void -- cgit v1.2.3