forked from AuroraMiddleware/gtk
checkbutton: Remove excessive is_drawable() check
This commit is contained in:
parent
6a0c31143f
commit
66bd7c1578
@ -135,9 +135,6 @@ gtk_check_button_paint (GtkWidget *widget,
|
||||
GdkRectangle *area)
|
||||
{
|
||||
GtkCheckButton *check_button = GTK_CHECK_BUTTON (widget);
|
||||
|
||||
if (gtk_widget_is_drawable (widget))
|
||||
{
|
||||
gint border_width;
|
||||
gint interior_focus;
|
||||
gint focus_width;
|
||||
@ -189,7 +186,6 @@ gtk_check_button_paint (GtkWidget *widget,
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
void
|
||||
_gtk_check_button_get_props (GtkCheckButton *check_button,
|
||||
|
Loading…
Reference in New Issue
Block a user