aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexandre Mazari <scaroo@gmail.com>2011-02-23 05:30:21 +0800
committerXan Lopez <xlopez@igalia.com>2011-02-24 05:18:48 +0800
commitda765e7da76ec0614499023f4ef9945279a19e0c (patch)
treea5cd9999dd1e209ae8b31fcb529c8446a4698956
parentd2c665bb7e35fec385e0c98ad62ad922610b5146 (diff)
downloadgsoc2013-epiphany-da765e7da76ec0614499023f4ef9945279a19e0c.tar
gsoc2013-epiphany-da765e7da76ec0614499023f4ef9945279a19e0c.tar.gz
gsoc2013-epiphany-da765e7da76ec0614499023f4ef9945279a19e0c.tar.bz2
gsoc2013-epiphany-da765e7da76ec0614499023f4ef9945279a19e0c.tar.lz
gsoc2013-epiphany-da765e7da76ec0614499023f4ef9945279a19e0c.tar.xz
gsoc2013-epiphany-da765e7da76ec0614499023f4ef9945279a19e0c.tar.zst
gsoc2013-epiphany-da765e7da76ec0614499023f4ef9945279a19e0c.zip
Remove deprecated gtk_button_pressed/released usage
Remove useless calls to gtk_button_release. Those calls had no effect, since they were following calls to gtk_toggle_button_set_active (FALSE) doing implicit release. https://bugzilla.gnome.org/show_bug.cgi?id=628364
-rw-r--r--src/bookmarks/ephy-bookmark-properties.c1
-rw-r--r--src/bookmarks/ephy-topic-action.c1
2 files changed, 0 insertions, 2 deletions
diff --git a/src/bookmarks/ephy-bookmark-properties.c b/src/bookmarks/ephy-bookmark-properties.c
index c566678a7..537ba88e8 100644
--- a/src/bookmarks/ephy-bookmark-properties.c
+++ b/src/bookmarks/ephy-bookmark-properties.c
@@ -221,7 +221,6 @@ similar_deactivate_cb (GtkMenuShell *ms,
GtkWidget *button)
{
gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (button), FALSE);
- gtk_button_released (GTK_BUTTON (button));
}
static void
diff --git a/src/bookmarks/ephy-topic-action.c b/src/bookmarks/ephy-topic-action.c
index 32d922f14..d59d62291 100644
--- a/src/bookmarks/ephy-topic-action.c
+++ b/src/bookmarks/ephy-topic-action.c
@@ -284,7 +284,6 @@ button_deactivate_cb (GtkMenuShell *ms,
GtkWidget *window = gtk_widget_get_ancestor (button, GTK_TYPE_WINDOW);
gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (button), FALSE);
- gtk_button_released (GTK_BUTTON (button));
g_object_set_data (G_OBJECT (window),
"active-topic-action-button", NULL);