Commit 9e58d075 authored by Sebastian Ramacher's avatar Sebastian Ramacher

Remove obsolete version check

parent 4824c703
...@@ -1123,11 +1123,7 @@ zathura_page_widget_popup_menu(GtkWidget* widget, GdkEventButton* event) ...@@ -1123,11 +1123,7 @@ zathura_page_widget_popup_menu(GtkWidget* widget, GdkEventButton* event)
/* attach and popup */ /* attach and popup */
gtk_menu_attach_to_widget(GTK_MENU(menu), widget, NULL); gtk_menu_attach_to_widget(GTK_MENU(menu), widget, NULL);
#if GTK_CHECK_VERSION(3, 22, 0)
gtk_menu_popup_at_pointer(GTK_MENU(menu), (GdkEvent*) event); gtk_menu_popup_at_pointer(GTK_MENU(menu), (GdkEvent*) event);
#else
gtk_menu_popup(GTK_MENU(menu), NULL, NULL, NULL, NULL, event->button, event->time);
#endif
} }
static gboolean static gboolean
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment