aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristian Persch <chpe@cvs.gnome.org>2005-08-17 20:55:58 +0800
committerChristian Persch <chpe@src.gnome.org>2005-08-17 20:55:58 +0800
commitbeab959d14f94a5535faf71d69714afebf6c4c77 (patch)
tree0df00b3745aeb04fd3411fe09e4b8ca34fe84f5a
parentbaf936755d8287b830e9293ae7d0bfb093d4e5b0 (diff)
downloadgsoc2013-epiphany-beab959d14f94a5535faf71d69714afebf6c4c77.tar.gz
gsoc2013-epiphany-beab959d14f94a5535faf71d69714afebf6c4c77.tar.zst
gsoc2013-epiphany-beab959d14f94a5535faf71d69714afebf6c4c77.zip
Use ephy_tab_set_title after ephy_tab_set_loading_title because set_title
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.
-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);
}