Don't check for impossible mouse button value

This commit is contained in:
Christian Dywan 2011-03-13 15:02:57 +01:00
parent ab04194ee4
commit 9e52fa93d4

View file

@ -4876,7 +4876,7 @@ midori_browser_notebook_button_press_event_after_cb (GtkNotebook* notebook,
g_list_free (tabs); g_list_free (tabs);
gtk_widget_show_all (menu); gtk_widget_show_all (menu);
katze_widget_popup (GTK_WIDGET (notebook), GTK_MENU (menu), NULL, katze_widget_popup (GTK_WIDGET (notebook), GTK_MENU (menu), NULL,
event->button == -1 ? KATZE_MENU_POSITION_LEFT : KATZE_MENU_POSITION_CURSOR); KATZE_MENU_POSITION_CURSOR);
} }
return FALSE; return FALSE;