[gtk+] listbox: Cosmetic cleanup



commit cf1adadfed61c4157c97238ca1ab2b9ca3deb6c1
Author: Matthias Clasen <mclasen redhat com>
Date:   Sat Nov 14 09:49:49 2015 -0500

    listbox: Cosmetic cleanup
    
    We don't cast these arguments anywhere else, so lets not do here
    either.

 gtk/gtklistbox.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/gtk/gtklistbox.c b/gtk/gtklistbox.c
index bff3f32..82d759e 100644
--- a/gtk/gtklistbox.c
+++ b/gtk/gtklistbox.c
@@ -3150,8 +3150,8 @@ gtk_list_box_row_draw (GtkWidget *widget,
   context = gtk_widget_get_style_context (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_frame (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, 0, 0, allocation.width, allocation.height);
 
   if (gtk_widget_has_visible_focus (GTK_WIDGET (row)))
     {


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]