diff options
author | raveit65 <[email protected]> | 2017-07-30 09:45:10 +0200 |
---|---|---|
committer | raveit65 <[email protected]> | 2017-08-05 15:02:54 +0200 |
commit | bc0dc6b21a7e0cbe6c05829a031ffc65c5d72ba6 (patch) | |
tree | 6be31c3c9da8ebf0ac89ba0e31dc2ab60537c908 /drivemount | |
parent | b914ba7954a9539ffa7ec1d4332d76181e82b7e2 (diff) | |
download | mate-applets-bc0dc6b21a7e0cbe6c05829a031ffc65c5d72ba6.tar.bz2 mate-applets-bc0dc6b21a7e0cbe6c05829a031ffc65c5d72ba6.tar.xz |
drivemount: don't use deprecated gtk_show_uri
Diffstat (limited to 'drivemount')
-rw-r--r-- | drivemount/drivemount.c | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/drivemount/drivemount.c b/drivemount/drivemount.c index 196af363..3e0bdd2b 100644 --- a/drivemount/drivemount.c +++ b/drivemount/drivemount.c @@ -132,10 +132,17 @@ display_help (GtkAction *action, screen = gtk_widget_get_screen (GTK_WIDGET (drive_list)); +#if GTK_CHECK_VERSION (3, 22, 0) + gtk_show_uri_on_window (NULL, + "help:mate-drivemount", + gtk_get_current_event_time (), + &error); +#else gtk_show_uri (screen, - "help:mate-drivemount", - gtk_get_current_event_time (), - &error); + "help:mate-drivemount", + gtk_get_current_event_time (), + &error); +#endif if (error) { GtkWidget *dialog; |