From 34e5c2d98f8847644a3877ca2f732091661f9e6a Mon Sep 17 00:00:00 2001 From: monsta Date: Sun, 28 Jan 2018 21:57:32 +0300 Subject: require GTK+ 3.22 and GLib 2.50 --- plugins/filebrowser/pluma-file-browser-widget.c | 4 ---- plugins/spell/pluma-automatic-spell-checker.c | 4 ---- 2 files changed, 8 deletions(-) (limited to 'plugins') diff --git a/plugins/filebrowser/pluma-file-browser-widget.c b/plugins/filebrowser/pluma-file-browser-widget.c index 4d0ce488..46087bbf 100644 --- a/plugins/filebrowser/pluma-file-browser-widget.c +++ b/plugins/filebrowser/pluma-file-browser-widget.c @@ -2473,11 +2473,7 @@ directory_open (PlumaFileBrowserWidget *obj, if (FILE_IS_DIR (flags)) { result = TRUE; -#if GTK_CHECK_VERSION (3, 22, 0) if (!gtk_show_uri_on_window (NULL, uri, GDK_CURRENT_TIME, &error)) { -#else - if (!gtk_show_uri (gtk_widget_get_screen (GTK_WIDGET (obj)), uri, GDK_CURRENT_TIME, &error)) { -#endif g_signal_emit (obj, signals[ERROR], 0, PLUMA_FILE_BROWSER_ERROR_OPEN_DIRECTORY, error->message); diff --git a/plugins/spell/pluma-automatic-spell-checker.c b/plugins/spell/pluma-automatic-spell-checker.c index 95a83d5f..76d4be96 100644 --- a/plugins/spell/pluma-automatic-spell-checker.c +++ b/plugins/spell/pluma-automatic-spell-checker.c @@ -454,11 +454,7 @@ build_suggestion_menu (PlumaAutomaticSpellChecker *spell, const gchar *word) label = gtk_label_new (label_text); gtk_label_set_use_markup (GTK_LABEL (label), TRUE); -#if GTK_CHECK_VERSION (3, 16, 0) gtk_label_set_xalign (GTK_LABEL (label), 0.0); -#else - gtk_misc_set_alignment (GTK_MISC (label), 0.0, 0.5); -#endif mi = gtk_menu_item_new (); gtk_container_add (GTK_CONTAINER(mi), label); -- cgit v1.2.1