diff options
author | raveit65 <[email protected]> | 2017-07-26 19:12:19 +0200 |
---|---|---|
committer | raveit65 <[email protected]> | 2017-07-26 19:27:07 +0200 |
commit | 68356eef7b581f680604e8fd17f8aca23e1d5751 (patch) | |
tree | f638b0dc250f295fbf7092c48b51683df3d6d038 /sensors-applet/sensors-applet.c | |
parent | c340498a1272377e2fcd1f9482467bfcac3988c2 (diff) | |
download | mate-sensors-applet-68356eef7b581f680604e8fd17f8aca23e1d5751.tar.bz2 mate-sensors-applet-68356eef7b581f680604e8fd17f8aca23e1d5751.tar.xz |
don't use deprecated gtk_show_uri
Diffstat (limited to 'sensors-applet/sensors-applet.c')
-rw-r--r-- | sensors-applet/sensors-applet.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/sensors-applet/sensors-applet.c b/sensors-applet/sensors-applet.c index 2a20360..ac156e7 100644 --- a/sensors-applet/sensors-applet.c +++ b/sensors-applet/sensors-applet.c @@ -77,8 +77,12 @@ static void help_cb(GtkAction *action, gpointer data) { GError *error = NULL; - + +#if GTK_CHECK_VERSION (3, 22, 0) + gtk_show_uri_on_window(NULL, "help:mate-sensors-applet", +#else gtk_show_uri(NULL, "help:mate-sensors-applet", +#endif gtk_get_current_event_time(), &error); |