Mon Sep 23 14:58:04 2002 Owen Taylor <otaylor@redhat.com>
* gtk/gtkhandlebox.h gtk/gtktextbtree.[ch]:
Use 'signed int' not 'gint' for signed bitfields.
(#93020, Vitaly Tishkov)
* gtk/gtktextlayout.h gtk/gtktextbtree.[ch]:
Fix some 'gint' bitfields that should have been
unsigned.
guint in_drag : 1;
guint shrink_on_detach : 1;
- gint snap_edge : 3; /* -1 == unset */
+ signed int snap_edge : 3; /* -1 == unset */
/* Variables used during a drag
*/
/* Height and width of this node */
gint height;
- gint width : 24;
+ signed int width : 24;
/* boolean indicating whether the lines below this node are in need of validation.
* However, width/height should always represent the current total width and
* width/height on the lines needs recomputing, not whether the totals
* need recomputing.
*/
- gint valid : 8;
+ guint valid : 8; /* Actually a boolean */
};
gpointer view_id;
GtkTextLineData *next;
gint height;
- gint width : 24;
- gint valid : 8;
+ signed int width : 24;
+ guint valid : 8; /* Actually a boolean */
};
/*
/* For what GtkTextDirection to draw cursor GTK_TEXT_DIR_NONE -
* means draw both cursors.
*/
- gint cursor_direction : 2;
+ guint cursor_direction : 2;
/* The preedit string and attributes, if any */