[libslab] Use gtk_show_uri() instead of gnome_url_show() in slab-gnome-util.c
- From: Federico Mena Quintero <federico src gnome org>
- To: svn-commits-list gnome org
- Subject: [libslab] Use gtk_show_uri() instead of gnome_url_show() in slab-gnome-util.c
- Date: Mon, 29 Jun 2009 18:24:43 +0000 (UTC)
commit 73bcf0e6a1037e37bab10cfcbc677c70d3492785
Author: Federico Mena Quintero <federico novell com>
Date: Mon Jun 29 12:32:57 2009 -0500
Use gtk_show_uri() instead of gnome_url_show() in slab-gnome-util.c
Signed-off-by: Federico Mena Quintero <federico novell com>
libslab/slab-gnome-util.c | 7 ++-----
1 files changed, 2 insertions(+), 5 deletions(-)
---
diff --git a/libslab/slab-gnome-util.c b/libslab/slab-gnome-util.c
index 34baad4..a22d514 100644
--- a/libslab/slab-gnome-util.c
+++ b/libslab/slab-gnome-util.c
@@ -19,9 +19,9 @@
*/
#include "slab-gnome-util.h"
+#include "libslab-utils.h"
#include <gconf/gconf-client.h>
-#include <libgnome/gnome-url.h>
#include <gio/gio.h>
#include <string.h>
@@ -276,10 +276,7 @@ open_desktop_item_help (GnomeDesktopItem * desktop_item)
help_uri = g_strdup_printf ("ghelp:%s", doc_path);
error = NULL;
-
- gnome_url_show (help_uri, &error);
-
- if (error)
+ if (!gtk_show_uri (libslab_get_current_screen (), help_uri, gtk_get_current_event_time (), &error))
{
g_warning ("error opening %s [%s]\n", help_uri, error->message);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]