forked from AuroraMiddleware/gtk
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;
|
GdkEventButton *button_event = (GdkEventButton *)event;
|
||||||
|
|
||||||
if (button_event->button == 1)
|
if (button_event->button == GDK_BUTTON_PRIMARY)
|
||||||
{
|
{
|
||||||
GtkCellRenderer *renderer = NULL;
|
GtkCellRenderer *renderer = NULL;
|
||||||
GtkCellRenderer *focus_renderer;
|
GtkCellRenderer *focus_renderer;
|
||||||
|
Loading…
Reference in New Issue
Block a user