diff options
Diffstat (limited to 'charpick/charpick.c')
-rw-r--r-- | charpick/charpick.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/charpick/charpick.c b/charpick/charpick.c index 28917451..3b8846da 100644 --- a/charpick/charpick.c +++ b/charpick/charpick.c @@ -659,10 +659,17 @@ help_cb (GtkAction *action, { GError *error = NULL; +#if GTK_CHECK_VERSION (3, 22, 0) + gtk_show_uri_on_window (NULL, + "help:mate-char-palette", + gtk_get_current_event_time (), + &error); +#else gtk_show_uri (gtk_widget_get_screen (GTK_WIDGET (curr_data->applet)), "help:mate-char-palette", gtk_get_current_event_time (), &error); +#endif if (error) { /* FIXME: the user needs to see this */ g_warning ("help error: %s\n", error->message); |