diff options
Diffstat (limited to 'libnautilus-private/nautilus-label.c')
-rw-r--r-- | libnautilus-private/nautilus-label.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libnautilus-private/nautilus-label.c b/libnautilus-private/nautilus-label.c index 5675262da..4dda451ae 100644 --- a/libnautilus-private/nautilus-label.c +++ b/libnautilus-private/nautilus-label.c @@ -452,12 +452,12 @@ label_recompute_line_geometries (NautilusLabel *label) } /* Public NautilusLabel */ -GtkWidget* +GtkWidget * nautilus_label_new (const char *text) { NautilusLabel *label; - label = NAUTILUS_LABEL (gtk_type_new (nautilus_label_get_type ())); + label = NAUTILUS_LABEL (gtk_widget_new (nautilus_label_get_type (), NULL)); nautilus_label_set_text (label, text); |