mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-17 14:30:15 +00:00
gtkpathbar: Use symbolic names for button numbers
This commit is contained in:
parent
0453f91f02
commit
15711a3bf7
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user