Don't use guint8 for bitfields, since some compilers choke on that.

2007-11-26  Matthias Clasen  <mclasen@redhat.com>

        * gtk/gtkfilechooserbutton.c:
        * gtk/gtktoolbar.c: Don't use guint8 for bitfields, since
        some compilers choke on that.  (#467722)


svn path=/branches/gtk-2-12/; revision=19052
This commit is contained in:
Matthias Clasen
2007-11-26 17:12:18 +00:00
committed by Matthias Clasen
parent 66c3f0984b
commit 7d02f89099
3 changed files with 14 additions and 8 deletions

View File

@@ -1,3 +1,9 @@
2007-11-26 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkfilechooserbutton.c:
* gtk/gtktoolbar.c: Don't use guint8 for bitfields, since
some compilers choke on that. (#467722)
2007-11-26 Tor Lillqvist <tml@novell.com>
* gdk/win32/gdkwindow-win32.c (gdk_window_fullscreen): Use the

View File

@@ -162,18 +162,18 @@ struct _GtkFileChooserButtonPrivate
guint8 n_volumes;
guint8 n_shortcuts;
guint8 n_bookmarks;
guint8 has_bookmark_separator : 1;
guint8 has_current_folder_separator : 1;
guint8 has_current_folder : 1;
guint8 has_other_separator : 1;
guint has_bookmark_separator : 1;
guint has_current_folder_separator : 1;
guint has_current_folder : 1;
guint has_other_separator : 1;
/* Used for hiding/showing the dialog when the button is hidden */
guint8 active : 1;
guint active : 1;
/* Used to track whether we need to set a default current folder on ::map() */
guint8 folder_has_been_set : 1;
guint folder_has_been_set : 1;
guint8 focus_on_click : 1;
guint focus_on_click : 1;
};

View File

@@ -3877,7 +3877,7 @@ struct _ToolbarContent
GtkAllocation goal_allocation;
guint is_placeholder : 1;
guint disappearing : 1;
TriState has_menu : 2;
guint has_menu : 2;
} tool_item;
struct