diff options
author | raveit65 <[email protected]> | 2017-07-26 15:26:10 +0200 |
---|---|---|
committer | raveit65 <[email protected]> | 2017-07-26 15:26:10 +0200 |
commit | a96cc1c494032c740b5ebda705992213609fbb18 (patch) | |
tree | 5d27f4fad58580ca8153127dbf9b6517fb8a4372 | |
parent | 1f0b9f4de01dc1924ee713fbbd78710577e3eaf5 (diff) | |
download | mate-screensaver-a96cc1c494032c740b5ebda705992213609fbb18.tar.bz2 mate-screensaver-a96cc1c494032c740b5ebda705992213609fbb18.tar.xz |
don't use deprecated gtk_show_uri
-rw-r--r-- | src/mate-screensaver-preferences.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/mate-screensaver-preferences.c b/src/mate-screensaver-preferences.c index ad38b36..a3ba973 100644 --- a/src/mate-screensaver-preferences.c +++ b/src/mate-screensaver-preferences.c @@ -387,7 +387,14 @@ help_display (void) GError *error; error = NULL; +#if GTK_CHECK_VERSION (3, 22, 0) + gtk_show_uri_on_window (NULL, + "help:mate-user-guide/prefs-screensaver", + GDK_CURRENT_TIME, + &error); +#else gtk_show_uri (NULL, "help:mate-user-guide/prefs-screensaver", GDK_CURRENT_TIME, &error); +#endif if (error != NULL) { |