diff options
-rw-r--r-- | src/fr-window.c | 2 | ||||
-rw-r--r-- | src/gtk-utils.c | 16 | ||||
-rw-r--r-- | src/gtk-utils.h | 4 |
3 files changed, 2 insertions, 20 deletions
diff --git a/src/fr-window.c b/src/fr-window.c index 79e16ab..e453d35 100644 --- a/src/fr-window.c +++ b/src/fr-window.c @@ -2253,7 +2253,7 @@ open_folder (GtkWindow *parent, if (folder == NULL) return; - if (! show_uri (gtk_window_get_screen (parent), folder, GDK_CURRENT_TIME, &error)) { + if (! gtk_show_uri (gtk_window_get_screen (parent), folder, GDK_CURRENT_TIME, &error)) { GtkWidget *d; char *utf8_name; char *message; 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, diff --git a/src/gtk-utils.h b/src/gtk-utils.h index 8c5c36a..1ec56e8 100644 --- a/src/gtk-utils.h +++ b/src/gtk-utils.h @@ -77,10 +77,6 @@ GdkPixbuf * get_mime_type_pixbuf (const char *mime_type, int icon_size, GtkIconTheme *icon_theme); int get_folder_pixbuf_size_for_list (GtkWidget *widget); -gboolean show_uri (GdkScreen *screen, - const char *uri, - guint32 timestamp, - GError **error); void show_help_dialog (GtkWindow *parent, const char *section); GtkBuilder * |