aboutsummaryrefslogtreecommitdiffstats
path: root/src/ephy-tab.c
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 /src/ephy-tab.c
parentbaf936755d8287b830e9293ae7d0bfb093d4e5b0 (diff)
downloadgsoc2013-epiphany-beab959d14f94a5535faf71d69714afebf6c4c77.tar
gsoc2013-epiphany-beab959d14f94a5535faf71d69714afebf6c4c77.tar.gz
gsoc2013-epiphany-beab959d14f94a5535faf71d69714afebf6c4c77.tar.bz2
gsoc2013-epiphany-beab959d14f94a5535faf71d69714afebf6c4c77.tar.lz
gsoc2013-epiphany-beab959d14f94a5535faf71d69714afebf6c4c77.tar.xz
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.
Diffstat (limited to 'src/ephy-tab.c')
-rw-r--r--src/ephy-tab.c4
1 files changed, 3 insertions, 1 deletions
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);
}