summaryrefslogtreecommitdiff
path: root/gtk
diff options
context:
space:
mode:
authorTim Janik <timj@gtk.org>1998-12-01 01:22:37 +0000
committerTim Janik <timj@src.gnome.org>1998-12-01 01:22:37 +0000
commit6047ed3ebd1c903e43c106f596b29a7eb35ba605 (patch)
tree236fcc18eba9024e254528da78b0db06055162d1 /gtk
parent471afbe62b30e84ab3e2fea016e53cd1a53f0b74 (diff)
downloadgtk+-6047ed3ebd1c903e43c106f596b29a7eb35ba605.tar.gz
fixed a stupid error of mine about the run type values.
Tue Dec 1 02:19:54 1998 Tim Janik <timj@gtk.org> * gtk/gtkenums.h: fixed a stupid error of mine about the run type values.
Diffstat (limited to 'gtk')
-rw-r--r--gtk/gtkenums.h13
1 files changed, 7 insertions, 6 deletions
diff --git a/gtk/gtkenums.h b/gtk/gtkenums.h
index 3dd9a8aa77..0d228ea2f7 100644
--- a/gtk/gtkenums.h
+++ b/gtk/gtkenums.h
@@ -158,7 +158,8 @@ typedef enum
typedef enum
{
GTK_POLICY_ALWAYS,
- GTK_POLICY_AUTOMATIC
+ GTK_POLICY_AUTOMATIC,
+ GTK_POLICY_NEVER
} GtkPolicyType;
typedef enum
@@ -194,12 +195,12 @@ typedef enum
/* signal run types */
typedef enum /*< flags >*/
{
- GTK_RUN_FIRST = 0x01,
- GTK_RUN_LAST = 0x02,
+ GTK_RUN_FIRST = 1 << 0,
+ GTK_RUN_LAST = 1 << 1,
GTK_RUN_BOTH = (GTK_RUN_FIRST | GTK_RUN_LAST),
- GTK_RUN_NO_RECURSE = 0x10,
- GTK_RUN_ACTION = 0x20,
- GTK_RUN_NO_HOOKS = 0x30
+ GTK_RUN_NO_RECURSE = 1 << 2,
+ GTK_RUN_ACTION = 1 << 3,
+ GTK_RUN_NO_HOOKS = 1 << 4
} GtkSignalRunType;
/* scrolling types */