checkbutton: Remove excessive is_drawable() check

This commit is contained in:
Benjamin Otte 2010-09-08 14:55:53 +02:00
parent 6a0c31143f
commit 66bd7c1578

View File

@ -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,