forked from AuroraMiddleware/gtk
scale: don't add scale label for empty markup
This is a regression from the gadget port.
This commit is contained in:
parent
a87e18ca6f
commit
b1144a73de
@ -2018,7 +2018,7 @@ gtk_scale_add_mark (GtkScale *scale,
|
||||
NULL,
|
||||
gtk_scale_render_mark_indicator,
|
||||
mark, NULL);
|
||||
if (mark->markup)
|
||||
if (mark->markup && *mark->markup)
|
||||
mark->label_gadget =
|
||||
gtk_css_custom_gadget_new ("label",
|
||||
GTK_WIDGET (scale), mark->gadget,
|
||||
|
Loading…
Reference in New Issue
Block a user