[gtk+] progressbar: Fix a signed/unsigned comparison



commit fd705ce7c72930da9739183a4a251a7f3db0bb3c
Author: Philip Withnall <philip tecnocode co uk>
Date:   Fri Jul 15 17:36:45 2011 +0100

    progressbar: Fix a signed/unsigned comparison

 gtk/gtkprogressbar.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gtk/gtkprogressbar.c b/gtk/gtkprogressbar.c
index 6d6b067..a11f53c 100644
--- a/gtk/gtkprogressbar.c
+++ b/gtk/gtkprogressbar.c
@@ -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);



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