diff options
-rw-r--r-- | ChangeLog | 8 | ||||
-rw-r--r-- | src/ephy-tab.c | 4 |
2 files changed, 11 insertions, 1 deletions
@@ -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); } |