aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog8
-rw-r--r--src/ephy-tab.c4
2 files changed, 11 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index f1d111ff7..87a135709 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,13 @@
2005-08-17 Christian Persch <chpe@cvs.gnome.org>
+ * src/ephy-tab.c: (ephy_tab_title_cb):
+
+ Use ephy_tab_set_title after ephy_tab_set_loading_title
+ because set_title consumes the char* argument!
+ Fixes invalid UTF-8 warnings.
+
+2005-08-17 Christian Persch <chpe@cvs.gnome.org>
+
* configure.ac:
Fix --disable-focus-fix and --disable-psm configure args.
diff --git a/src/ephy-tab.c b/src/ephy-tab.c
index 06088717f..a0f1ed390 100644
--- a/src/ephy-tab.c
+++ b/src/ephy-tab.c
@@ -1571,9 +1571,11 @@ ephy_tab_title_cb (EphyEmbed *embed, EphyTab *tab)
g_object_freeze_notify (object);
- ephy_tab_set_title (tab, embed, title);
ephy_tab_set_loading_title (tab, title, FALSE);
+ /* this consumes and/or frees |title| ! */
+ ephy_tab_set_title (tab, embed, title);
+
g_object_thaw_notify (object);
}