Commit 784b4a32 authored by Guillaume Desmottes's avatar Guillaume Desmottes

pass NULL instead of "" to gtk_label_new()

This saves us a strdup.
parent f78f4f12
......@@ -1120,7 +1120,7 @@ account_assistant_build_salut_page (EmpathyAccountAssistant *self)
gtk_box_pack_start (GTK_BOX (main_vbox), hbox_1, TRUE, TRUE, 0);
gtk_widget_show (hbox_1);
w = gtk_label_new ("");
w = gtk_label_new (NULL);
markup = g_strdup_printf ("%s (<span style=\"italic\">%s</span>).",
_("Empathy can automatically discover and chat with the people "
"connected on the same network as you. "
......
......@@ -415,7 +415,7 @@ empathy_sidebar_init (EmpathySidebar *sidebar)
select_hbox = gtk_hbox_new (FALSE, 0);
sidebar->priv->label = gtk_label_new ("");
sidebar->priv->label = gtk_label_new (NULL);
gtk_box_pack_start (GTK_BOX (select_hbox),
sidebar->priv->label,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment