summaryrefslogtreecommitdiff
path: root/src/file-share-properties.c
diff options
context:
space:
mode:
authormonsta <[email protected]>2018-01-28 11:43:24 +0300
committerraveit65 <[email protected]>2018-01-29 14:22:01 +0100
commit31da7a4eb64da546b3eb9d3226f6a5710bf0de2d (patch)
tree90b3951963f1f66c382b2c9e01273549c4b22dfa /src/file-share-properties.c
parentc0f503b1b003bb664545a3685b863f2ce6fdb1c4 (diff)
downloadmate-user-share-31da7a4eb64da546b3eb9d3226f6a5710bf0de2d.tar.bz2
mate-user-share-31da7a4eb64da546b3eb9d3226f6a5710bf0de2d.tar.xz
require GTK+ 3.22 and GLib 2.50
Diffstat (limited to 'src/file-share-properties.c')
-rw-r--r--src/file-share-properties.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/file-share-properties.c b/src/file-share-properties.c
index dad134b..111a51b 100644
--- a/src/file-share-properties.c
+++ b/src/file-share-properties.c
@@ -438,11 +438,7 @@ help_button_clicked (GtkButton *button, GtkWidget *window)
{
GError *error = NULL;
-#if GTK_CHECK_VERSION (3, 22, 0)
if (gtk_show_uri_on_window (GTK_WINDOW (window), "help:mate-user-share", gtk_get_current_event_time (), &error) == FALSE) {
-#else
- if (gtk_show_uri (gtk_widget_get_screen (window), "help:mate-user-share", gtk_get_current_event_time (), &error) == FALSE) {
-#endif
GtkWidget *dialog;
dialog = error_dialog (_("Could not display the help contents."), error->message, GTK_WINDOW (window));