summaryrefslogtreecommitdiff
path: root/gtk/gtkbin.c
diff options
context:
space:
mode:
authorTim Janik <timj@gtk.org>1998-06-28 10:07:37 +0000
committerTim Janik <timj@src.gnome.org>1998-06-28 10:07:37 +0000
commit09423315a14fadac795d2590570790952d49d757 (patch)
treed024fb181956f2209c424bbfd7ffd890acb16c0b /gtk/gtkbin.c
parente63d08e43f7f736556dd9d8cb401a68dac18e1fd (diff)
downloadgdk-pixbuf-09423315a14fadac795d2590570790952d49d757.tar.gz
GtkType and macro fixups.
Sun Jun 28 11:39:17 1998 Tim Janik <timj@gtk.org> * gtk/gtkalignment.h: * gtk/gtkbin.h: GtkType and macro fixups. * gtk/gtkalignment.c (gtk_alignment_class_init): widget argument implementation: GtkAlignment::xalign, GtkAlignment::yalign, GtkAlignment::xscale, GtkAlignment::yscale.
Diffstat (limited to 'gtk/gtkbin.c')
-rw-r--r--gtk/gtkbin.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/gtk/gtkbin.c b/gtk/gtkbin.c
index 8a716f31b..268b6faf0 100644
--- a/gtk/gtkbin.c
+++ b/gtk/gtkbin.c
@@ -40,7 +40,7 @@ static GtkType gtk_bin_child_type (GtkContainer*container);
static GtkContainerClass *parent_class = NULL;
-guint
+GtkType
gtk_bin_get_type (void)
{
static guint bin_type = 0;
@@ -59,7 +59,7 @@ gtk_bin_get_type (void)
(GtkClassInitFunc) NULL,
};
- bin_type = gtk_type_unique (gtk_container_get_type (), &bin_info);
+ bin_type = gtk_type_unique (GTK_TYPE_CONTAINER, &bin_info);
}
return bin_type;
@@ -76,7 +76,7 @@ gtk_bin_class_init (GtkBinClass *class)
widget_class = (GtkWidgetClass*) class;
container_class = (GtkContainerClass*) class;
- parent_class = gtk_type_class (gtk_container_get_type ());
+ parent_class = gtk_type_class (GTK_TYPE_CONTAINER);
widget_class->map = gtk_bin_map;
widget_class->unmap = gtk_bin_unmap;