places view: Use GdkEvent API

This commit is contained in:
Matthias Clasen 2017-08-26 10:57:52 -04:00 committed by Carlos Garnacho
parent 5d5ae459c4
commit 7793e8f071

View File

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