diff options
author | Tim Janik <timj@gtk.org> | 2000-02-13 08:16:48 +0000 |
---|---|---|
committer | Tim Janik <timj@src.gnome.org> | 2000-02-13 08:16:48 +0000 |
commit | ef03cb52872c19788e889b55ce9b30ff5a616677 (patch) | |
tree | 6a08cd7e4de091d8308e3f90d04e3af5011f5801 /gtk/gtkhbbox.c | |
parent | 196d48435ebdfc03bb37b55306465dc16a847320 (diff) | |
download | gdk-pixbuf-ef03cb52872c19788e889b55ce9b30ff5a616677.tar.gz |
s/refcount/ref_count/.
Sun Feb 13 08:54:45 2000 Tim Janik <timj@gtk.org>
* gdk/gdkcursor.h (struct _GdkCursor): s/refcount/ref_count/.
* gdk/x11/gdkcursor-x11.c (gdk_cursor_new_from_pixmap):
* gdk/x11/gdkcursor-x11.c (_gdk_cursor_destroy):
* gdk/gdkcursor.c (gdk_cursor_ref): insert assertments for the
parameters given and cursor->ref_count. coding style fixups.
* gtk/gtksocket.c (gtk_socket_class_init): parent class is GtkContainer,
not GtkWidget.
* gtk/*.h: applied patch from Mathieu Lacage <lacage@email.enst.fr> to
fix up widget macros and add _GET_CLASS() variant.
* gtk/*.c: some GtkType fixups.
Diffstat (limited to 'gtk/gtkhbbox.c')
-rw-r--r-- | gtk/gtkhbbox.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/gtk/gtkhbbox.c b/gtk/gtkhbbox.c index 9cfb89dcf..8ba84d708 100644 --- a/gtk/gtkhbbox.c +++ b/gtk/gtkhbbox.c @@ -37,10 +37,10 @@ static void gtk_hbutton_box_size_allocate (GtkWidget *widget, static gint default_spacing = 30; static gint default_layout_style = GTK_BUTTONBOX_EDGE; -guint +GtkType gtk_hbutton_box_get_type (void) { - static guint hbutton_box_type = 0; + static GtkType hbutton_box_type = 0; if (!hbutton_box_type) { @@ -56,7 +56,7 @@ gtk_hbutton_box_get_type (void) (GtkClassInitFunc) NULL, }; - hbutton_box_type = gtk_type_unique (gtk_button_box_get_type (), &hbutton_box_info); + hbutton_box_type = gtk_type_unique (GTK_TYPE_BUTTON_BOX, &hbutton_box_info); } return hbutton_box_type; @@ -84,7 +84,7 @@ gtk_hbutton_box_new (void) { GtkHButtonBox *hbutton_box; - hbutton_box = gtk_type_new (gtk_hbutton_box_get_type ()); + hbutton_box = gtk_type_new (GTK_TYPE_HBUTTON_BOX); return GTK_WIDGET (hbutton_box); } |