separator toolitem: Respect ::draw property
This was lost when I converted the widget to use a gadget. https://bugzilla.gnome.org/show_bug.cgi?id=760018
This commit is contained in:
@@ -413,7 +413,8 @@ static gboolean
|
||||
gtk_separator_tool_item_draw (GtkWidget *widget,
|
||||
cairo_t *cr)
|
||||
{
|
||||
gtk_css_gadget_draw (GTK_SEPARATOR_TOOL_ITEM (widget)->priv->gadget, cr);
|
||||
if (GTK_SEPARATOR_TOOL_ITEM (widget)->priv->draw)
|
||||
gtk_css_gadget_draw (GTK_SEPARATOR_TOOL_ITEM (widget)->priv->gadget, cr);
|
||||
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user