]> Pileus Git - ~andy/gtk/commitdiff
progressbar: Fix a signed/unsigned comparison
authorPhilip Withnall <philip@tecnocode.co.uk>
Fri, 15 Jul 2011 16:36:45 +0000 (17:36 +0100)
committerPhilip Withnall <philip@tecnocode.co.uk>
Mon, 18 Jul 2011 18:35:02 +0000 (19:35 +0100)
gtk/gtkprogressbar.c

index 6d6b067e195fd1c189baca3575317cbf4a1ace9d..a11f53c5cd750eea4f974265dd0d8ae6638a6cb7 100644 (file)
@@ -427,7 +427,7 @@ gtk_progress_bar_real_update (GtkProgressBar *pbar)
       GtkStyleContext *context;
       GtkStateFlags state;
       GtkBorder padding;
-      guint size;
+      gint size;
 
       gtk_widget_get_allocation (widget, &allocation);
       context = gtk_widget_get_style_context (widget);