aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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)