gtkhtml r9152 - trunk/components/html-editor
- From: tobiasmue svn gnome org
- To: svn-commits-list gnome org
- Subject: gtkhtml r9152 - trunk/components/html-editor
- Date: Tue, 24 Feb 2009 01:26:46 +0000 (UTC)
Author: tobiasmue
Date: Tue Feb 24 01:26:46 2009
New Revision: 9152
URL: http://svn.gnome.org/viewvc/gtkhtml?rev=9152&view=rev
Log:
2009-02-23 Tobias Mueller <tobiasmue svn gnome org>
* image.c:
* link.c: Don't use the deprecated function gnome_url_show from
libgnome. Instead, use gtk_show_uri. Patch by PaweÅ Zembrzuski.
Fixes bug 570728.
Modified:
trunk/components/html-editor/ChangeLog
trunk/components/html-editor/image.c
trunk/components/html-editor/link.c
Modified: trunk/components/html-editor/image.c
==============================================================================
--- trunk/components/html-editor/image.c (original)
+++ trunk/components/html-editor/image.c Tue Feb 24 01:26:46 2009
@@ -29,7 +29,6 @@
#include <unistd.h>
#include <string.h>
#include <glade/glade.h>
-#include <libgnome/libgnome.h>
#include "gtkhtml.h"
#include "htmlcolorset.h"
@@ -205,7 +204,7 @@
const char *url = gtk_entry_get_text (GTK_ENTRY (d->entry_url));
if (url)
- gnome_url_show (url, NULL);
+ gtk_show_uri (NULL, url, GDK_CURRENT_TIME, NULL);
}
static void
Modified: trunk/components/html-editor/link.c
==============================================================================
--- trunk/components/html-editor/link.c (original)
+++ trunk/components/html-editor/link.c Tue Feb 24 01:26:46 2009
@@ -28,7 +28,6 @@
#include <glib/gi18n.h>
#endif
#include <glade/glade.h>
-#include <libgnome/libgnome.h>
#include "htmlcolor.h"
#include "htmlcolorset.h"
@@ -198,7 +197,7 @@
const char *url = gtk_entry_get_text (GTK_ENTRY (d->entry_url));
if (url)
- gnome_url_show (url, NULL);
+ gtk_show_uri (NULL, url, GDK_CURRENT_TIME, NULL);
}
static GtkWidget *
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]