trivial: Fix the signedness of boolean fields

The standard old kludge with gboolean being signed, not unsigned.
Encountered while printing the values for debugging.

https://bugzilla.gnome.org/show_bug.cgi?id=644306
This commit is contained in:
Jasper St. Pierre 2013-11-04 16:04:20 -05:00
parent 5c0ee02251
commit 69f17da5ca
4 changed files with 10 additions and 10 deletions

View File

@ -37,7 +37,7 @@ typedef struct {
GSList *windows; GSList *windows;
/* Whether or not we need to resort the windows; this is done on demand */ /* Whether or not we need to resort the windows; this is done on demand */
gboolean window_sort_stale : 1; guint window_sort_stale : 1;
/* DBus property notification subscription */ /* DBus property notification subscription */
guint properties_changed_id : 1; guint properties_changed_id : 1;

View File

@ -45,7 +45,7 @@ struct _StAdjustmentPrivate
{ {
/* Do not sanity-check values while constructing, /* Do not sanity-check values while constructing,
* not all properties may be set yet. */ * not all properties may be set yet. */
gboolean is_constructing : 1; guint is_constructing : 1;
gdouble lower; gdouble lower;
gdouble upper; gdouble upper;

View File

@ -98,8 +98,8 @@ struct _StScrollViewPrivate
StScrollViewFade *fade_effect; StScrollViewFade *fade_effect;
gboolean row_size_set : 1; guint row_size_set : 1;
gboolean column_size_set : 1; guint column_size_set : 1;
guint mouse_scroll : 1; guint mouse_scroll : 1;
guint overlay_scrollbars : 1; guint overlay_scrollbars : 1;
guint hscrollbar_visible : 1; guint hscrollbar_visible : 1;

View File

@ -59,12 +59,12 @@ struct _StWidgetPrivate
StThemeNodeTransition *transition_animation; StThemeNodeTransition *transition_animation;
gboolean is_style_dirty : 1; guint is_style_dirty : 1;
gboolean draw_bg_color : 1; guint draw_bg_color : 1;
gboolean draw_border_internal : 1; guint draw_border_internal : 1;
gboolean track_hover : 1; guint track_hover : 1;
gboolean hover : 1; guint hover : 1;
gboolean can_focus : 1; guint can_focus : 1;
gulong texture_file_changed_id; gulong texture_file_changed_id;