summaryrefslogtreecommitdiff
path: root/gtk/gtkhseparator.c
diff options
context:
space:
mode:
authorTim Janik <timj@gtk.org>1998-07-14 16:34:48 +0000
committerTim Janik <timj@src.gnome.org>1998-07-14 16:34:48 +0000
commita91be9352faad5e29728cc7e7e344eb5690096be (patch)
treeee11fce117e15cf41b985b2b79e565552d970ed2 /gtk/gtkhseparator.c
parentda355feec6ec673ac09f1b29f618bd9b444a3f47 (diff)
downloadgtk+-a91be9352faad5e29728cc7e7e344eb5690096be.tar.gz
macro and GtkType fixups.
Tue Jul 14 11:41:38 1998 Tim Janik <timj@gtk.org> * gtk/gtkdialog.h: * gtk/gtkseparator.h: * gtk/gtkhseparator.h: * gtk/gtkvseparator.h: macro and GtkType fixups.
Diffstat (limited to 'gtk/gtkhseparator.c')
-rw-r--r--gtk/gtkhseparator.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/gtk/gtkhseparator.c b/gtk/gtkhseparator.c
index ff6c7a0dee..88cd4642f9 100644
--- a/gtk/gtkhseparator.c
+++ b/gtk/gtkhseparator.c
@@ -25,10 +25,10 @@ static gint gtk_hseparator_expose (GtkWidget *widget,
GdkEventExpose *event);
-guint
+GtkType
gtk_hseparator_get_type (void)
{
- static guint hseparator_type = 0;
+ static GtkType hseparator_type = 0;
if (!hseparator_type)
{
@@ -44,7 +44,7 @@ gtk_hseparator_get_type (void)
(GtkClassInitFunc) NULL,
};
- hseparator_type = gtk_type_unique (gtk_separator_get_type (), &hseparator_info);
+ hseparator_type = gtk_type_unique (GTK_TYPE_SEPARATOR, &hseparator_info);
}
return hseparator_type;
@@ -70,7 +70,7 @@ gtk_hseparator_init (GtkHSeparator *hseparator)
GtkWidget*
gtk_hseparator_new (void)
{
- return GTK_WIDGET (gtk_type_new (gtk_hseparator_get_type ()));
+ return GTK_WIDGET (gtk_type_new (GTK_TYPE_HSEPARATOR));
}