[gnome-main-menu] Fix bgo#570725 - remove gnome_url_show. Based on patch from Kyle Pelton



commit fc00b04729a7959aebc95e365ecb2baca555d91c
Author: Scott Reeves <sreeves novell com>
Date:   Thu May 14 18:43:33 2009 -0600

    Fix bgo#570725 - remove gnome_url_show. Based on patch from Kyle Pelton
---
 configure.in              |    2 +-
 libslab/libslab-utils.c   |    2 +-
 libslab/slab-gnome-util.c |    2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/configure.in b/configure.in
index 2761473..58ecadb 100644
--- a/configure.in
+++ b/configure.in
@@ -42,7 +42,7 @@ dnl Check that we meet the dependencies
 dnl ==============================================
 
 GLIB_REQUIRED=2.16.0
-GTK_REQUIRED=2.13.3
+GTK_REQUIRED=2.14
 
 AM_PATH_GLIB_2_0($GLIB_REQUIRED,,,gobject)
 
diff --git a/libslab/libslab-utils.c b/libslab/libslab-utils.c
index 417eb40..587d5a3 100644
--- a/libslab/libslab-utils.c
+++ b/libslab/libslab-utils.c
@@ -199,7 +199,7 @@ libslab_gnome_desktop_item_open_help (GnomeDesktopItem *item)
 	if (doc_path) {
 		help_uri = g_strdup_printf ("ghelp:%s", doc_path);
 
-		gnome_url_show (help_uri, & error);
+		gtk_show_uri (NULL, help_uri, gtk_get_current_event_time (), &error);
 
 		if (error) {
 			g_warning ("error opening %s [%s]\n", help_uri, error->message);
diff --git a/libslab/slab-gnome-util.c b/libslab/slab-gnome-util.c
index 34baad4..6c94c12 100644
--- a/libslab/slab-gnome-util.c
+++ b/libslab/slab-gnome-util.c
@@ -277,7 +277,7 @@ open_desktop_item_help (GnomeDesktopItem * desktop_item)
 
 		error = NULL;
 
-		gnome_url_show (help_uri, &error);
+		gtk_show_uri (NULL, help_uri, gtk_get_current_event_time (), &error);
 
 		if (error)
 		{



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]