gtkmenu: Use symbolic names for button numbers
This commit is contained in:
committed by
Carlos Garcia Campos
parent
38d869cb8e
commit
73449a4e28
@@ -75,7 +75,7 @@
|
||||
* if (event->type == GDK_BUTTON_PRESS)
|
||||
* {
|
||||
* event_button = (GdkEventButton *) event;
|
||||
* if (event_button->button == 3)
|
||||
* if (event_button->button == GDK_BUTTON_SECONDARY)
|
||||
* {
|
||||
* gtk_menu_popup (menu, NULL, NULL, NULL, NULL,
|
||||
* event_button->button, event_button->time);
|
||||
|
||||
Reference in New Issue
Block a user