summaryrefslogtreecommitdiff
path: root/gtk/gtkdialog.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/gtkdialog.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/gtkdialog.c')
-rw-r--r--gtk/gtkdialog.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/gtk/gtkdialog.c b/gtk/gtkdialog.c
index 670c82487f..0e19e14bb2 100644
--- a/gtk/gtkdialog.c
+++ b/gtk/gtkdialog.c
@@ -27,10 +27,10 @@ static void gtk_dialog_class_init (GtkDialogClass *klass);
static void gtk_dialog_init (GtkDialog *dialog);
-guint
+GtkType
gtk_dialog_get_type (void)
{
- static guint dialog_type = 0;
+ static GtkType dialog_type = 0;
if (!dialog_type)
{
@@ -46,7 +46,7 @@ gtk_dialog_get_type (void)
(GtkClassInitFunc) NULL,
};
- dialog_type = gtk_type_unique (gtk_window_get_type (), &dialog_info);
+ dialog_type = gtk_type_unique (GTK_TYPE_WINDOW, &dialog_info);
}
return dialog_type;
@@ -79,5 +79,5 @@ gtk_dialog_init (GtkDialog *dialog)
GtkWidget*
gtk_dialog_new (void)
{
- return GTK_WIDGET (gtk_type_new (gtk_dialog_get_type ()));
+ return GTK_WIDGET (gtk_type_new (GTK_TYPE_DIALOG));
}