diff options
author | raveit65 <[email protected]> | 2017-07-30 08:58:47 +0200 |
---|---|---|
committer | raveit65 <[email protected]> | 2017-08-05 15:02:54 +0200 |
commit | b914ba7954a9539ffa7ec1d4332d76181e82b7e2 (patch) | |
tree | b633ad8cb166e414887f5a977dfe732c98e9692c /cpufreq/src/cpufreq-prefs.c | |
parent | f451d02fe210cf82b326fdc417825ff36b3aeff1 (diff) | |
download | mate-applets-b914ba7954a9539ffa7ec1d4332d76181e82b7e2.tar.bz2 mate-applets-b914ba7954a9539ffa7ec1d4332d76181e82b7e2.tar.xz |
cpufreq: don't use deprecated gtk_show_uri
Diffstat (limited to 'cpufreq/src/cpufreq-prefs.c')
-rw-r--r-- | cpufreq/src/cpufreq-prefs.c | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/cpufreq/src/cpufreq-prefs.c b/cpufreq/src/cpufreq-prefs.c index d703973a..43009ed0 100644 --- a/cpufreq/src/cpufreq-prefs.c +++ b/cpufreq/src/cpufreq-prefs.c @@ -358,12 +358,15 @@ cpufreq_prefs_dialog_response_cb (CPUFreqPrefs *prefs, if (response == GTK_RESPONSE_HELP) { #if GTK_CHECK_VERSION (3, 22, 0) gtk_show_uri_on_window (GTK_WINDOW (prefs->priv->dialog), + "help:mate-cpufreq-applet/cpufreq-applet-prefs", + gtk_get_current_event_time (), + &error); #else gtk_show_uri (gtk_widget_get_screen (GTK_WIDGET (prefs->priv->dialog)), + "help:mate-cpufreq-applet/cpufreq-applet-prefs", + gtk_get_current_event_time (), + &error); #endif - "help:mate-cpufreq-applet/cpufreq-applet-prefs", - gtk_get_current_event_time (), - &error); if (error) { cpufreq_utils_display_error (_("Could not open help document"), |