diff options
-rw-r--r-- | src/tab-chrome.c | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/src/tab-chrome.c b/src/tab-chrome.c index 6b3e2ad..df29807 100644 --- a/src/tab-chrome.c +++ b/src/tab-chrome.c @@ -120,8 +120,8 @@ back_forward_toggle_button_toggled_cb(GtkToggleButton *toggle_button, } static gboolean -back_forward_box_button_press_cb(GtkWidget *widget, GdkEvent *event, - MqTabChrome *chrome) +back_forward_box_button_press_cb(GtkWidget *widget, + GdkEventButton G_GNUC_UNUSED *event, MqTabChrome *chrome) { WebKitBackForwardList *back_forward_list; GtkWidget *list_box; @@ -137,12 +137,6 @@ back_forward_box_button_press_cb(GtkWidget *widget, GdkEvent *event, GtkWidget *toggle_button; GtkWidget *box; - /* Make sure this is a mouse button press event. Either the middle or - * right button is OK. */ - if (event->type != GDK_BUTTON_PRESS) { - return FALSE; - } - /* Get the back/forward list for the Web view. */ back_forward_list = webkit_web_view_get_back_forward_list( WEBKIT_WEB_VIEW(chrome->web_view)); |