From 15711a3bf7f9970539e0d421d1dbb529ff1ea142 Mon Sep 17 00:00:00 2001 From: Carlos Garcia Campos Date: Wed, 25 Jan 2012 18:44:55 +0100 Subject: [PATCH] gtkpathbar: Use symbolic names for button numbers --- gtk/gtkpathbar.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gtk/gtkpathbar.c b/gtk/gtkpathbar.c index 8e165cb7fa..e383a0f633 100644 --- a/gtk/gtkpathbar.c +++ b/gtk/gtkpathbar.c @@ -1130,7 +1130,7 @@ gtk_path_bar_slider_button_press (GtkWidget *widget, GdkEventButton *event, GtkPathBar *path_bar) { - if (event->type != GDK_BUTTON_PRESS || event->button != 1) + if (event->type != GDK_BUTTON_PRESS || event->button != GDK_BUTTON_PRIMARY) return FALSE; path_bar->ignore_click = FALSE;