aboutsummaryrefslogtreecommitdiffstats
path: root/src/bookmarks/ephy-bookmark-action.c
diff options
context:
space:
mode:
authorXan Lopez <xan@gnome.org>2009-12-05 06:19:23 +0800
committerXan Lopez <xan@gnome.org>2009-12-05 06:40:44 +0800
commit9cd23731cce78ed64191f41ea32815069600c79e (patch)
tree134baba4d843353a1baf4a81af19d45ae89053de /src/bookmarks/ephy-bookmark-action.c
parenta4174b3c96ab0a3395fe8fad19fa8052635088f8 (diff)
downloadgsoc2013-epiphany-9cd23731cce78ed64191f41ea32815069600c79e.tar
gsoc2013-epiphany-9cd23731cce78ed64191f41ea32815069600c79e.tar.gz
gsoc2013-epiphany-9cd23731cce78ed64191f41ea32815069600c79e.tar.bz2
gsoc2013-epiphany-9cd23731cce78ed64191f41ea32815069600c79e.tar.lz
gsoc2013-epiphany-9cd23731cce78ed64191f41ea32815069600c79e.tar.xz
gsoc2013-epiphany-9cd23731cce78ed64191f41ea32815069600c79e.tar.zst
gsoc2013-epiphany-9cd23731cce78ed64191f41ea32815069600c79e.zip
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.
Diffstat (limited to 'src/bookmarks/ephy-bookmark-action.c')
-rw-r--r--src/bookmarks/ephy-bookmark-action.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/bookmarks/ephy-bookmark-action.c b/src/bookmarks/ephy-bookmark-action.c
index 2b40dc409..90af3b1fd 100644
--- a/src/bookmarks/ephy-bookmark-action.c
+++ b/src/bookmarks/ephy-bookmark-action.c
@@ -431,7 +431,7 @@ button_press_cb (GtkWidget *widget,
{
if (event->button == 2)
{
- g_signal_emit_by_name (widget, "button-press-event");
+ gtk_button_pressed (GTK_BUTTON (widget));
}
return FALSE;
@@ -444,7 +444,7 @@ button_release_cb (GtkWidget *widget,
{
if (event->button == 2)
{
- g_signal_emit_by_name (widget, "button-release-event");
+ gtk_button_released (GTK_BUTTON (widget));
}
return FALSE;