summaryrefslogtreecommitdiff
path: root/gtk/gtktoolbar.c
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2012-05-25 23:14:02 -0400
committerMatthias Clasen <mclasen@redhat.com>2012-05-25 23:14:02 -0400
commit33d2af0036706b7bcb0c83a826870907d2e5f762 (patch)
tree0e8edc64b3b4e7b051f5ab5eb9f60e7e8eaaebbc /gtk/gtktoolbar.c
parent1bb7e28c90b4180301bb05bae5fa89a27ca273bb (diff)
downloadgtk+-33d2af0036706b7bcb0c83a826870907d2e5f762.tar.gz
fix the build
Diffstat (limited to 'gtk/gtktoolbar.c')
-rw-r--r--gtk/gtktoolbar.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/gtk/gtktoolbar.c b/gtk/gtktoolbar.c
index a83f52ae39..f98762c0d7 100644
--- a/gtk/gtktoolbar.c
+++ b/gtk/gtktoolbar.c
@@ -2750,6 +2750,9 @@ gtk_toolbar_button_press (GtkWidget *toolbar,
return return_value;
}
+ if (event->type == GDK_2BUTTON_PRESS)
+ return FALSE;
+
window = gtk_widget_get_toplevel (toolbar);
if (window)