mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2025-01-03 17:21:11 +00:00
places view: Use GdkEvent API
This commit is contained in:
parent
5d5ae459c4
commit
7793e8f071
@ -1713,7 +1713,7 @@ on_button_press_event (GtkPlacesViewRow *row,
|
||||
{
|
||||
if (row &&
|
||||
gdk_event_triggers_context_menu ((GdkEvent*) event) &&
|
||||
gdk_event_get_event_type (event) == GDK_BUTTON_PRESS)
|
||||
gdk_event_get_event_type ((GdkEvent *)event) == GDK_BUTTON_PRESS)
|
||||
{
|
||||
popup_menu (row, event);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user