aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/ephy-page-menu-action.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ephy-page-menu-action.c b/src/ephy-page-menu-action.c
index ae17ffff0..da2f49973 100644
--- a/src/ephy-page-menu-action.c
+++ b/src/ephy-page-menu-action.c
@@ -70,7 +70,7 @@ button_press_cb (GtkWidget *button, GdkEventButton *event, GtkAction *action)
if (!button) {
GSList *l = gtk_action_get_proxies (action);
if (GTK_IS_BUTTON (l->data))
- button = GTK_BUTTON (l->data);
+ button = GTK_WIDGET (l->data);
}
g_return_if_fail (GTK_IS_BUTTON (button));