gtk: draw the frame around the spinbutton's buttons conditionally
(depending on GtkEntry::has-frame)
This commit is contained in:
@ -801,6 +801,7 @@ gtk_spin_button_draw (GtkWidget *widget,
|
|||||||
|
|
||||||
gtk_cairo_transform_to_window (cr, widget, priv->panel);
|
gtk_cairo_transform_to_window (cr, widget, priv->panel);
|
||||||
|
|
||||||
|
if (gtk_entry_get_has_frame (GTK_ENTRY (widget)))
|
||||||
gtk_paint_box (gtk_widget_get_style (widget), cr,
|
gtk_paint_box (gtk_widget_get_style (widget), cr,
|
||||||
state, shadow_type,
|
state, shadow_type,
|
||||||
widget, "spinbutton",
|
widget, "spinbutton",
|
||||||
|
|||||||
Reference in New Issue
Block a user