forked from AuroraMiddleware/gtk
listbox: Cosmetic cleanup
We don't cast these arguments anywhere else, so lets not do here either.
This commit is contained in:
parent
55735cee2f
commit
cf1adadfed
@ -3150,8 +3150,8 @@ gtk_list_box_row_draw (GtkWidget *widget,
|
|||||||
context = gtk_widget_get_style_context (widget);
|
context = gtk_widget_get_style_context (widget);
|
||||||
state = gtk_widget_get_state_flags (widget);
|
state = gtk_widget_get_state_flags (widget);
|
||||||
|
|
||||||
gtk_render_background (context, cr, (gdouble) 0, (gdouble) 0, (gdouble) allocation.width, (gdouble) allocation.height);
|
gtk_render_background (context, cr, 0, 0, allocation.width, allocation.height);
|
||||||
gtk_render_frame (context, cr, (gdouble) 0, (gdouble) 0, (gdouble) allocation.width, (gdouble) allocation.height);
|
gtk_render_frame (context, cr, 0, 0, allocation.width, allocation.height);
|
||||||
|
|
||||||
if (gtk_widget_has_visible_focus (GTK_WIDGET (row)))
|
if (gtk_widget_has_visible_focus (GTK_WIDGET (row)))
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user