diff options
author | Guillaume Desmottes <guillaume.desmottes@collabora.co.uk> | 2009-11-05 22:27:05 +0800 |
---|---|---|
committer | Guillaume Desmottes <guillaume.desmottes@collabora.co.uk> | 2009-11-05 22:27:05 +0800 |
commit | f01e82a81513ca159ed4e806deb80c4baaf88d07 (patch) | |
tree | 150f908c98e78ce6eceff1ee78f54f0e3dec1e68 /src/empathy-call-window.c | |
parent | e88cfe1ffae499dac6fc2b19a7485c839e887b03 (diff) | |
download | gsoc2013-empathy-f01e82a81513ca159ed4e806deb80c4baaf88d07.tar gsoc2013-empathy-f01e82a81513ca159ed4e806deb80c4baaf88d07.tar.gz gsoc2013-empathy-f01e82a81513ca159ed4e806deb80c4baaf88d07.tar.bz2 gsoc2013-empathy-f01e82a81513ca159ed4e806deb80c4baaf88d07.tar.lz gsoc2013-empathy-f01e82a81513ca159ed4e806deb80c4baaf88d07.tar.xz gsoc2013-empathy-f01e82a81513ca159ed4e806deb80c4baaf88d07.tar.zst gsoc2013-empathy-f01e82a81513ca159ed4e806deb80c4baaf88d07.zip |
pass NULL to gtk_label_new when creating an empty label
Diffstat (limited to 'src/empathy-call-window.c')
-rw-r--r-- | src/empathy-call-window.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/empathy-call-window.c b/src/empathy-call-window.c index 2aee32dbc..1d2b2c597 100644 --- a/src/empathy-call-window.c +++ b/src/empathy-call-window.c @@ -1497,7 +1497,7 @@ display_error (EmpathyCallWindow *self, /* Add text */ txt = g_strdup_printf ("<b>%s</b>\n%s", title, desc); - label = gtk_label_new (""); + label = gtk_label_new (NULL); gtk_label_set_markup (GTK_LABEL (label), txt); g_free (txt); @@ -1512,7 +1512,7 @@ display_error (EmpathyCallWindow *self, txt = g_strdup_printf ("<i>%s</i>", details); - label = gtk_label_new (""); + label = gtk_label_new (NULL); gtk_label_set_markup (GTK_LABEL (label), txt); gtk_label_set_line_wrap (GTK_LABEL (label), TRUE); gtk_misc_set_alignment (GTK_MISC (label), 0, 0); |