aboutsummaryrefslogtreecommitdiffstats
path: root/src/ephy-tab.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ephy-tab.c')
-rw-r--r--src/ephy-tab.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/src/ephy-tab.c b/src/ephy-tab.c
index f9314f4c2..f6e20e6d4 100644
--- a/src/ephy-tab.c
+++ b/src/ephy-tab.c
@@ -1748,7 +1748,7 @@ ephy_tab_get_status_message (EphyTab *tab)
static void
ephy_tab_set_title (EphyTab *tab, EphyEmbed *embed, const char *new_title)
{
- char *title_tmp, *title = NULL;
+ char *title = NULL;
g_return_if_fail (EPHY_IS_TAB (tab));
@@ -1796,14 +1796,10 @@ ephy_tab_set_title (EphyTab *tab, EphyEmbed *embed, const char *new_title)
tab->priv->title = title;
- title_tmp = ephy_string_double_underscores (title);
-
g_object_set (G_OBJECT (tab->priv->action),
- "label", title_tmp,
+ "label", title,
NULL);
- g_free (title_tmp);
-
g_object_notify (G_OBJECT (tab), "title");
}