summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAndre Miranda <andreldm@xfce.org>2020-12-12 13:44:51 -0300
committerAndre Miranda <andreldm@xfce.org>2020-12-12 13:44:51 -0300
commit1e731a03613928a472ba44a381c13f3421060661 (patch)
tree28d328eecc2bbea05c5a820dfcf027212f88eef0 /src
parent07274a62bad964357f5dc8e8aff64849305fa48f (diff)
downloadxfce4-appfinder-1e731a03613928a472ba44a381c13f3421060661.tar.gz
Bump gtk minimum version to 3.22.0
Also bump libxfce4ui and xfconf min versions.
Diffstat (limited to 'src')
-rw-r--r--src/appfinder-preferences.glade4
-rw-r--r--src/appfinder-window.c6
2 files changed, 2 insertions, 8 deletions
diff --git a/src/appfinder-preferences.glade b/src/appfinder-preferences.glade
index 9755a0d..bce1252 100644
--- a/src/appfinder-preferences.glade
+++ b/src/appfinder-preferences.glade
@@ -1,8 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<!-- Generated with glade 3.22.1 -->
<interface>
- <requires lib="gtk+" version="3.20"/>
- <requires lib="libxfce4ui-2" version="4.12"/>
+ <requires lib="gtk+" version="3.22"/>
+ <requires lib="libxfce4ui-2" version="4.14"/>
<object class="GtkListStore" id="action-types">
<columns>
<!-- column-name title -->
diff --git a/src/appfinder-window.c b/src/appfinder-window.c
index 0ec1485..44b31fe 100644
--- a/src/appfinder-window.c
+++ b/src/appfinder-window.c
@@ -1145,13 +1145,7 @@ xfce_appfinder_window_popup_menu (GtkWidget *view,
gtk_container_add (GTK_CONTAINER (mi), box);
gtk_widget_show_all (mi);
-#if GTK_CHECK_VERSION (3, 22, 0)
gtk_menu_popup_at_pointer (GTK_MENU (menu), NULL);
-#else
- gtk_menu_popup (GTK_MENU (menu),
- NULL, NULL, NULL, NULL, 3,
- gtk_get_current_event_time ());
-#endif
return TRUE;
}