summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/tab-label.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/tab-label.c b/src/tab-label.c
index 82f5fa1..4ed9aa7 100644
--- a/src/tab-label.c
+++ b/src/tab-label.c
@@ -37,7 +37,7 @@ struct _MqTabLabel {
GtkWidget *image;
GtkWidget *label;
guint position;
- const gchar *title;
+ gchar *title;
gboolean scrolling;
gchar *scrolled_title;
GtkWidget *popover;
@@ -332,7 +332,7 @@ mq_tab_label_init(MqTabLabel *tab_label)
GtkWidget *close_button;
GtkWidget *box;
- tab_label->title = _("New Tab");
+ tab_label->title = g_strdup(_("New Tab"));
/* Set up tab image. */
tab_label->image = gtk_image_new_from_icon_name("text-html",