summaryrefslogtreecommitdiff
path: root/gtk/gtkwidget.h
diff options
context:
space:
mode:
authorOwen Taylor <otaylor@redhat.com>2002-03-02 19:11:47 +0000
committerOwen Taylor <otaylor@src.gnome.org>2002-03-02 19:11:47 +0000
commitf832e3484d146343e6f6bf4b36c4f19746f521f2 (patch)
tree68b59d24f1a4146508e595588a87842f971e64b6 /gtk/gtkwidget.h
parent36e686e6a723f83abc4ff31b076765cdd069b241 (diff)
downloadgtk+-f832e3484d146343e6f6bf4b36c4f19746f521f2.tar.gz
Switch style of stamp file usage.
Sat Mar 2 13:26:58 2002 Owen Taylor <otaylor@redhat.com> * gtk/Makefile.am: Switch style of stamp file usage. * gtk/Makefile.am gtk/typeutils.[ch]: Switch all the exported enumeration/fags TYPE variables over to macros for get_type() functions, for lazy definition and to get rid of expensive relocations. * gtk/gtkiconfactory.[ch] gtk/gtkselection.[ch] gtk/gtkstyle.[ch] gtk/gtktextiter.[ch] gtk/gtktexttag.[ch] gtk/gtktreemodel.[ch] gtk/gtktypeutils.[ch] gtk/gtkwidget.[ch]: Switch boxed type definitions over manually coded get_type() functions. * gtk/gtk.def: Updates for above * gtk/{genmarshal.pl,makeenums.awk,makeenums.h,maketypes.awk}: Remove from CVS, no longer used. * configure.in: Remove checks for awk.
Diffstat (limited to 'gtk/gtkwidget.h')
-rw-r--r--gtk/gtkwidget.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/gtk/gtkwidget.h b/gtk/gtkwidget.h
index 1be3abb9f6..2176e71f06 100644
--- a/gtk/gtkwidget.h
+++ b/gtk/gtkwidget.h
@@ -131,6 +131,7 @@ typedef enum
#define GTK_WIDGET_SET_FLAGS(wid,flag) G_STMT_START{ (GTK_WIDGET_FLAGS (wid) |= (flag)); }G_STMT_END
#define GTK_WIDGET_UNSET_FLAGS(wid,flag) G_STMT_START{ (GTK_WIDGET_FLAGS (wid) &= ~(flag)); }G_STMT_END
+#define GTK_TYPE_REQUISITION (gtk_requisition_get_type ())
/* forward declaration to avoid excessive includes (and concurrent includes)
*/
@@ -737,8 +738,9 @@ void gtk_widget_class_path (GtkWidget *widget,
gchar **path,
gchar **path_reversed);
-GtkRequisition *gtk_requisition_copy (const GtkRequisition *requisition);
-void gtk_requisition_free (GtkRequisition *requisition);
+GType gtk_requisition_get_type (void);
+GtkRequisition *gtk_requisition_copy (const GtkRequisition *requisition);
+void gtk_requisition_free (GtkRequisition *requisition);
#if defined (GTK_TRACE_OBJECTS) && defined (__GNUC__)
# define gtk_widget_ref gtk_object_ref