mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2025-01-02 17:00:19 +00:00
color-swatch: render a background if the swatch doesn't have a color
We still want to call into the background rendering code, to draw the default background.
This commit is contained in:
parent
8e85702dca
commit
dcec8dfdde
@ -145,6 +145,8 @@ swatch_draw (GtkWidget *widget,
|
||||
|
||||
_gtk_theming_background_render (&background, cr);
|
||||
}
|
||||
else
|
||||
_gtk_theming_background_render (&background, cr);
|
||||
|
||||
gtk_render_frame (context, cr,
|
||||
0, 0, width, height);
|
||||
|
Loading…
Reference in New Issue
Block a user