diff options
Diffstat (limited to 'cpufreq/src')
-rw-r--r-- | cpufreq/src/cpufreq-prefs.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/cpufreq/src/cpufreq-prefs.c b/cpufreq/src/cpufreq-prefs.c index 9c7f27c2..d703973a 100644 --- a/cpufreq/src/cpufreq-prefs.c +++ b/cpufreq/src/cpufreq-prefs.c @@ -356,7 +356,11 @@ cpufreq_prefs_dialog_response_cb (CPUFreqPrefs *prefs, GError *error = NULL; if (response == GTK_RESPONSE_HELP) { +#if GTK_CHECK_VERSION (3, 22, 0) + gtk_show_uri_on_window (GTK_WINDOW (prefs->priv->dialog), +#else gtk_show_uri (gtk_widget_get_screen (GTK_WIDGET (prefs->priv->dialog)), +#endif "help:mate-cpufreq-applet/cpufreq-applet-prefs", gtk_get_current_event_time (), &error); |