summaryrefslogtreecommitdiff
path: root/demos
diff options
context:
space:
mode:
authorOwen Taylor <otaylor@redhat.com>2002-02-23 00:13:17 +0000
committerOwen Taylor <otaylor@src.gnome.org>2002-02-23 00:13:17 +0000
commita504db9e83bb022aaaa6d265481fc2bb376e87df (patch)
treee116ba25c324cea2e10b22f1c15fd37b17d7c43a /demos
parentc73054c5a952c12a2a1429d9cd464266e8b23e36 (diff)
downloadgtk+-a504db9e83bb022aaaa6d265481fc2bb376e87df.tar.gz
Fixes for AIX compilation from Miroslaw Dobrzanski-Neumann, #72182.
Fri Feb 22 18:36:45 2002 Owen Taylor <otaylor@redhat.com> Fixes for AIX compilation from Miroslaw Dobrzanski-Neumann, #72182. * demos/gtk-demo/main.c gtk/gtktreeview.c gtk/gtktoolbar.c gtk/gtkpaned.c gtk/gtkobject.c gtk/gtkcontainer.c gtk/gtkcolorsel.c gtk/gtkcellrender.c gdk/x11/xsettings-client.h: Squash trailing commas on enumerations. * gdk/gdktypes.h: Drop GDK_RELEASE_MASK to 1 << 30 instead of 1 << 31 to work around AIX compiler problem. (C standard seems to imply that compiler is required to use an unsigned type for the enum value in this case.) * gdk/gdkpixbuf-drawable.c: Fix lvalue casts. * gtk/gtkwindow.h: Fix use of enum types for bitfields ... compilers may choose to use a signed type for bitfields.
Diffstat (limited to 'demos')
-rw-r--r--demos/gtk-demo/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/demos/gtk-demo/main.c b/demos/gtk-demo/main.c
index c59bf3184a..6f1a4abe18 100644
--- a/demos/gtk-demo/main.c
+++ b/demos/gtk-demo/main.c
@@ -151,7 +151,7 @@ read_line (FILE *stream, GString *str)
*/
enum {
STATE_NORMAL,
- STATE_IN_COMMENT,
+ STATE_IN_COMMENT
};
static gchar *tokens[] =