aboutsummaryrefslogtreecommitdiffstats
path: root/src/bookmarks/ephy-bookmark-action.c
diff options
context:
space:
mode:
authorXan Lopez <xan@gnome.org>2009-11-30 20:28:42 +0800
committerXan Lopez <xan@gnome.org>2009-11-30 20:30:02 +0800
commit167e60123c1024d539dc02f4a16f7de994bd1c29 (patch)
tree31ffc15ba2a39f7d7188ad991b419d8a1f15afac /src/bookmarks/ephy-bookmark-action.c
parent2aca0c21a8f140a6d3b6bddfa4aed1b31326b1cd (diff)
downloadgsoc2013-epiphany-167e60123c1024d539dc02f4a16f7de994bd1c29.tar.gz
gsoc2013-epiphany-167e60123c1024d539dc02f4a16f7de994bd1c29.tar.zst
gsoc2013-epiphany-167e60123c1024d539dc02f4a16f7de994bd1c29.zip
Do not use deprecated GtkButton APIs
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 90af3b1fd..2b40dc409 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)
{
- gtk_button_pressed (GTK_BUTTON (widget));
+ g_signal_emit_by_name (widget, "button-press-event");
}
return FALSE;
@@ -444,7 +444,7 @@ button_release_cb (GtkWidget *widget,
{
if (event->button == 2)
{
- gtk_button_released (GTK_BUTTON (widget));
+ g_signal_emit_by_name (widget, "button-release-event");
}
return FALSE;