mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-17 14:30:15 +00:00
gtkcellarea: Use symbolic names for button numbers
This commit is contained in:
parent
c5d9c6f27c
commit
f8e9d264da
@ -1069,7 +1069,7 @@ gtk_cell_area_real_event (GtkCellArea *area,
|
||||
{
|
||||
GdkEventButton *button_event = (GdkEventButton *)event;
|
||||
|
||||
if (button_event->button == 1)
|
||||
if (button_event->button == GDK_BUTTON_PRIMARY)
|
||||
{
|
||||
GtkCellRenderer *renderer = NULL;
|
||||
GtkCellRenderer *focus_renderer;
|
||||
|
Loading…
Reference in New Issue
Block a user