summaryrefslogtreecommitdiff
path: root/gtk/gtkprivate.h
diff options
context:
space:
mode:
authorOwen Taylor <otaylor@gtk.org>1998-06-15 21:27:17 +0000
committerOwen Taylor <otaylor@src.gnome.org>1998-06-15 21:27:17 +0000
commit48a9f44f3172d362eab8a0084865b42084cef383 (patch)
tree3b700a14292130d483e58d7c9164ee23826f1269 /gtk/gtkprivate.h
parente144ff2bb588d9e0f2c6237aaa6b9d4c3ec04d6e (diff)
downloadgtk+-48a9f44f3172d362eab8a0084865b42084cef383.tar.gz
gdk/gdktypes.h gdk/gdkprivate.h gtk/gtk*.h gtk/Makefile.am gtk/makenums.pl
Mon Jun 15 16:29:45 1998 Owen Taylor <otaylor@gtk.org> * gdk/gdktypes.h gdk/gdkprivate.h gtk/gtk*.h gtk/Makefile.am gtk/makenums.pl Removed out the G_ENUM/FLAGS mechanism in favor of a perl script that parses the standard headers (with occasional /*< nick=foo >*/ style overrides) and extracts the enumerations. gtk/maketypes.awk: Small improvments to the translation of names. (Avoid splitting gc into g_c_.) Mon Jun 15 16:25:44 1998 Owen Taylor <otaylor@gtk.org> * gtk/Makefile.am gtk/gtk.h gtk/gtkfontsel.[ch] gtk/testgtk.c: Damon Chaplin's <DAChaplin@email.msn.com> Font selection widget, and a simple example for testgtk. Mon Jun 15 15:58:34 1998 Owen Taylor <otaylor@gtk.org> * gtk/gtkentry.c: - Restored gtk_entry_adjust_scroll to static - Changed text positioning code so that we always display as large a portion of the text as possible. Mon Jun 15 15:42:12 1998 Owen Taylor <otaylor@gtk.org> * gtk/gtktext.c (gtk_text_finalize): Free internal structures of text widget. Also, unreference pixmaps when unrealizing. Sat Jun 13 19:14:39 1998 Owen Taylor <otaylor@gtk.org> * gdk/gdkinputcommon.h (gdk_input_device_new): Change 3.3.1 bug workaround to number keys starting at 1. Sat Jun 13 11:56:57 1998 Owen Taylor <otaylor@gtk.org> * docs/gtk_tut.sgml: Fixed urls for complete example source for scribble+widget-writing examples.
Diffstat (limited to 'gtk/gtkprivate.h')
-rw-r--r--gtk/gtkprivate.h17
1 files changed, 8 insertions, 9 deletions
diff --git a/gtk/gtkprivate.h b/gtk/gtkprivate.h
index d99274f251..3426cff190 100644
--- a/gtk/gtkprivate.h
+++ b/gtk/gtkprivate.h
@@ -30,19 +30,18 @@ extern "C" {
#endif /* __cplusplus */
-
/* The private flags that are used in the private_flags member of GtkWidget.
*/
typedef enum
{
- G_NV (PRIVATE_GTK_USER_STYLE, user-style, 1 << 0),
- G_NV (PRIVATE_GTK_REDRAW_PENDING, redraw-pending, 1 << 1),
- G_NV (PRIVATE_GTK_RESIZE_PENDING, resize-pending, 1 << 2),
- G_NV (PRIVATE_GTK_RESIZE_NEEDED, resize-needed, 1 << 3),
- G_NV (PRIVATE_GTK_LEAVE_PENDING, leave-pending, 1 << 4),
- G_NV (PRIVATE_GTK_HAS_SHAPE_MASK, has-shape-mask, 1 << 5),
- G_NV (PRIVATE_GTK_IN_REPARENT, in-reparent, 1 << 6)
-} G_FLAGS (GtkPrivateFlags);
+ PRIVATE_GTK_USER_STYLE = 1 << 0,
+ PRIVATE_GTK_REDRAW_PENDING = 1 << 1,
+ PRIVATE_GTK_RESIZE_PENDING = 1 << 2,
+ PRIVATE_GTK_RESIZE_NEEDED = 1 << 3,
+ PRIVATE_GTK_LEAVE_PENDING = 1 << 4,
+ PRIVATE_GTK_HAS_SHAPE_MASK = 1 << 5,
+ PRIVATE_GTK_IN_REPARENT = 1 << 6
+} GtkPrivateFlags;
/* Macros for extracting a widgets private_flags from GtkWidget.
*/