Skip to content

Commit d41dbce

Browse files
victoryforceTurboGit
authored andcommitted
Fix build with LLVM 20
1 parent 9d521e6 commit d41dbce

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/gui/gtk.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -404,7 +404,7 @@ static inline GtkWidget *dt_ui_section_label_new(const gchar *str)
404404
static inline GtkWidget *dt_ui_label_new(const gchar *str)
405405
{
406406
GtkWidget *label = gtk_label_new(str);
407-
g_object_set(label, "halign", GTK_ALIGN_START, "xalign", 0.0f, "ellipsize", PANGO_ELLIPSIZE_END, NULL);
407+
g_object_set(label, "halign", GTK_ALIGN_START, "xalign", 0.0f, "ellipsize", PANGO_ELLIPSIZE_END, (void *)0);
408408
return label;
409409
};
410410

0 commit comments

Comments
 (0)