Commit a96cc1c4 authored by raveit65's avatar raveit65
Browse files

don't use deprecated gtk_show_uri

parent 1f0b9f4d
......@@ -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)
{
......
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