summaryrefslogtreecommitdiff
path: root/gtk/gtkprogressbar.c
diff options
context:
space:
mode:
authorPhilip Withnall <philip@tecnocode.co.uk>2011-07-15 17:36:45 +0100
committerPhilip Withnall <philip@tecnocode.co.uk>2011-07-18 19:35:02 +0100
commitfd705ce7c72930da9739183a4a251a7f3db0bb3c (patch)
treeaed3524f6d5c977d2207fee8cacfe3f4d28d73dd /gtk/gtkprogressbar.c
parentb0e836e23164b9fb494267c42ec50488950ecf44 (diff)
downloadgtk+-fd705ce7c72930da9739183a4a251a7f3db0bb3c.tar.gz
progressbar: Fix a signed/unsigned comparison
Diffstat (limited to 'gtk/gtkprogressbar.c')
-rw-r--r--gtk/gtkprogressbar.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/gtkprogressbar.c b/gtk/gtkprogressbar.c
index 6d6b067e19..a11f53c5cd 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);