aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristian Persch <chpe@cvs.gnome.org>2004-08-06 20:49:19 +0800
committerChristian Persch <chpe@src.gnome.org>2004-08-06 20:49:19 +0800
commitf9f94be91053ec7560e4b6e34a338dda9a40457d (patch)
tree07df080cb3d21634e54c8aa603bb00fe7f31d992
parent19f14575a21dd7e93440916cdbd2e4f41c8f2776 (diff)
downloadgsoc2013-epiphany-f9f94be91053ec7560e4b6e34a338dda9a40457d.tar
gsoc2013-epiphany-f9f94be91053ec7560e4b6e34a338dda9a40457d.tar.gz
gsoc2013-epiphany-f9f94be91053ec7560e4b6e34a338dda9a40457d.tar.bz2
gsoc2013-epiphany-f9f94be91053ec7560e4b6e34a338dda9a40457d.tar.lz
gsoc2013-epiphany-f9f94be91053ec7560e4b6e34a338dda9a40457d.tar.xz
gsoc2013-epiphany-f9f94be91053ec7560e4b6e34a338dda9a40457d.tar.zst
gsoc2013-epiphany-f9f94be91053ec7560e4b6e34a338dda9a40457d.zip
Use s/""/NULL/ in g_string_new().
2004-08-06 Christian Persch <chpe@cvs.gnome.org> * src/bookmarks/ephy-bookmarks.c: (ephy_bookmarks_solve_smart_url): Use s/""/NULL/ in g_string_new().
-rw-r--r--ChangeLog6
-rw-r--r--src/bookmarks/ephy-bookmarks.c2
2 files changed, 7 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 3ba1ccece..96631fbb5 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,11 @@
2004-08-06 Christian Persch <chpe@cvs.gnome.org>
+ * src/bookmarks/ephy-bookmarks.c: (ephy_bookmarks_solve_smart_url):
+
+ Use s/""/NULL/ in g_string_new().
+
+2004-08-06 Christian Persch <chpe@cvs.gnome.org>
+
* src/ephy-session.c: (ephy_session_init), (ephy_session_finalize),
(ephy_session_set_property), (ephy_session_class_init),
(ephy_session_close), (write_tool_window), (ephy_session_save),
diff --git a/src/bookmarks/ephy-bookmarks.c b/src/bookmarks/ephy-bookmarks.c
index cdad943a9..99681204a 100644
--- a/src/bookmarks/ephy-bookmarks.c
+++ b/src/bookmarks/ephy-bookmarks.c
@@ -1110,7 +1110,7 @@ ephy_bookmarks_solve_smart_url (EphyBookmarks *eb,
smarturl_only = get_smarturl_only (smart_url);
- s = g_string_new ("");
+ s = g_string_new (NULL);
encoding = smart_url_options_get (smart_url, "encoding");
if (!encoding)