gtkmenu: Use symbolic names for button numbers

This commit is contained in:
Carlos Garcia Campos
2012-01-25 18:36:12 +01:00
committed by Carlos Garcia Campos
parent 38d869cb8e
commit 73449a4e28

View File

@@ -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);