diff options
author | raveit65 <[email protected]> | 2017-07-23 09:19:17 +0200 |
---|---|---|
committer | raveit65 <[email protected]> | 2017-07-23 09:19:17 +0200 |
commit | 87d0816704303908ece73bfb9ab84e33a4458a8b (patch) | |
tree | e79c5f22c79df541c3947a62a55095dff5b5542a /src/gtk-utils.c | |
parent | 46addda709978a877faaeb66f966812fecc4bb49 (diff) | |
download | engrampa-87d0816704303908ece73bfb9ab84e33a4458a8b.tar.bz2 engrampa-87d0816704303908ece73bfb9ab84e33a4458a8b.tar.xz |
use a more common gtk+ function
Diffstat (limited to 'src/gtk-utils.c')
-rw-r--r-- | src/gtk-utils.c | 16 |
1 files changed, 1 insertions, 15 deletions
diff --git a/src/gtk-utils.c b/src/gtk-utils.c index 6f8c2b1..a770619 100644 --- a/src/gtk-utils.c +++ b/src/gtk-utils.c @@ -731,20 +731,6 @@ get_folder_pixbuf_size_for_list (GtkWidget *widget) return MAX (icon_width, icon_height); } -gboolean -show_uri (GdkScreen *screen, - const char *uri, - guint32 timestamp, - GError **error) -{ - gboolean result; - - result = gtk_show_uri (screen, uri, timestamp, error); - - return result; -} - - void show_help_dialog (GtkWindow *parent, const char *section) @@ -753,7 +739,7 @@ show_help_dialog (GtkWindow *parent, GError *error = NULL; uri = g_strconcat ("help:engrampa", section ? "/" : NULL, section, NULL); - if (! show_uri (gtk_window_get_screen (parent), uri, GDK_CURRENT_TIME, &error)) { + if (! gtk_show_uri (gtk_window_get_screen (parent), uri, GDK_CURRENT_TIME, &error)) { GtkWidget *dialog; dialog = _gtk_message_dialog_new (parent, |