forked from AuroraMiddleware/gtk
radiobutton: Remove redundant is_drawable() check
This commit is contained in:
parent
70bdbb3f4c
commit
be8a398bb5
@ -891,9 +891,6 @@ gtk_radio_button_draw_indicator (GtkCheckButton *check_button,
|
|||||||
gboolean interior_focus;
|
gboolean interior_focus;
|
||||||
|
|
||||||
widget = GTK_WIDGET (check_button);
|
widget = GTK_WIDGET (check_button);
|
||||||
|
|
||||||
if (gtk_widget_is_drawable (widget))
|
|
||||||
{
|
|
||||||
button = GTK_BUTTON (check_button);
|
button = GTK_BUTTON (check_button);
|
||||||
toggle_button = GTK_TOGGLE_BUTTON (check_button);
|
toggle_button = GTK_TOGGLE_BUTTON (check_button);
|
||||||
|
|
||||||
@ -963,5 +960,4 @@ gtk_radio_button_draw_indicator (GtkCheckButton *check_button,
|
|||||||
state_type, shadow_type,
|
state_type, shadow_type,
|
||||||
area, widget, "radiobutton",
|
area, widget, "radiobutton",
|
||||||
x, y, indicator_size, indicator_size);
|
x, y, indicator_size, indicator_size);
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user