aboutsummaryrefslogtreecommitdiffstats
path: root/src/bookmarks/ephy-bookmark-action.c
diff options
context:
space:
mode:
authorDiego Escalante Urrelo <diegoe@gnome.org>2009-12-07 21:07:19 +0800
committerDiego Escalante Urrelo <diegoe@gnome.org>2009-12-07 21:07:19 +0800
commit41ceee8ac728d660245972ed41b0fa577b694446 (patch)
tree134baba4d843353a1baf4a81af19d45ae89053de /src/bookmarks/ephy-bookmark-action.c
parent7df0ef5da7881342298485eb88241695603d447c (diff)
downloadgsoc2013-epiphany-41ceee8ac728d660245972ed41b0fa577b694446.tar
gsoc2013-epiphany-41ceee8ac728d660245972ed41b0fa577b694446.tar.gz
gsoc2013-epiphany-41ceee8ac728d660245972ed41b0fa577b694446.tar.bz2
gsoc2013-epiphany-41ceee8ac728d660245972ed41b0fa577b694446.tar.lz
gsoc2013-epiphany-41ceee8ac728d660245972ed41b0fa577b694446.tar.xz
gsoc2013-epiphany-41ceee8ac728d660245972ed41b0fa577b694446.tar.zst
gsoc2013-epiphany-41ceee8ac728d660245972ed41b0fa577b694446.zip
Revert "Don't use deprecated GtkButton API"
Revert this commit since Xan is right about forgetting about deprecating API. Instead of hiding behind g_signal_emit() we should use modern API or file bugs to fill our need.
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 de59a143f..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, "pressed");
+ 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, "released");
+ gtk_button_released (GTK_BUTTON (widget));
}
return FALSE;