diff options
author | Christian Persch <chpe@cvs.gnome.org> | 2005-08-17 20:55:58 +0800 |
---|---|---|
committer | Christian Persch <chpe@src.gnome.org> | 2005-08-17 20:55:58 +0800 |
commit | beab959d14f94a5535faf71d69714afebf6c4c77 (patch) | |
tree | 0df00b3745aeb04fd3411fe09e4b8ca34fe84f5a /src/ephy-tab.c | |
parent | baf936755d8287b830e9293ae7d0bfb093d4e5b0 (diff) | |
download | gsoc2013-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.c | 4 |
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); } |