mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-16 21:50:34 +00:00
win32 fallback: Warn if we don't know how to draw a part
This commit is contained in:
parent
c73db50aed
commit
3c5c748cd4
@ -129,7 +129,13 @@ gtk_win32_draw_theme_background (cairo_t *cr,
|
||||
theme_part = get_theme_part (class_name, part);
|
||||
|
||||
if (theme_part)
|
||||
theme_part->draw_func (cr, part, state, width, height);
|
||||
{
|
||||
theme_part->draw_func (cr, part, state, width, height);
|
||||
}
|
||||
else
|
||||
{
|
||||
g_warning ("No fallback code to draw background for class \"%s\", part %d", class_name, part);
|
||||
}
|
||||
}
|
||||
|
||||
void
|
||||
|
Loading…
Reference in New Issue
Block a user