aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/bookmarks/ephy-bookmark-action.c4
-rw-r--r--src/bookmarks/ephy-bookmark-properties.c2
-rw-r--r--src/bookmarks/ephy-topic-action.c2
3 files changed, 4 insertions, 4 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;
diff --git a/src/bookmarks/ephy-bookmark-properties.c b/src/bookmarks/ephy-bookmark-properties.c
index ed8f9b2cd..76ce00105 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);
- gtk_button_released (GTK_BUTTON (button));
+ g_signal_emit_by_name (button, "button-release-event");
}
static void
diff --git a/src/bookmarks/ephy-topic-action.c b/src/bookmarks/ephy-topic-action.c
index 32d922f14..d812a7732 100644
--- a/src/bookmarks/ephy-topic-action.c
+++ b/src/bookmarks/ephy-topic-action.c
@@ -284,7 +284,7 @@ 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_signal_emit_by_name (button, "button-release-event");
g_object_set_data (G_OBJECT (window),
"active-topic-action-button", NULL);