From ef03cb52872c19788e889b55ce9b30ff5a616677 Mon Sep 17 00:00:00 2001 From: Tim Janik Date: Sun, 13 Feb 2000 08:16:48 +0000 Subject: s/refcount/ref_count/. Sun Feb 13 08:54:45 2000 Tim Janik * 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 to fix up widget macros and add _GET_CLASS() variant. * gtk/*.c: some GtkType fixups. --- gtk/gtkmenubar.h | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) (limited to 'gtk/gtkmenubar.h') diff --git a/gtk/gtkmenubar.h b/gtk/gtkmenubar.h index b78847c618..7f0a81a7a1 100644 --- a/gtk/gtkmenubar.h +++ b/gtk/gtkmenubar.h @@ -36,11 +36,13 @@ extern "C" { #endif /* __cplusplus */ -#define GTK_TYPE_MENU_BAR (gtk_menu_bar_get_type ()) -#define GTK_MENU_BAR(obj) (GTK_CHECK_CAST ((obj), GTK_TYPE_MENU_BAR, GtkMenuBar)) -#define GTK_MENU_BAR_CLASS(klass) (GTK_CHECK_CLASS_CAST ((klass), GTK_TYPE_MENU_BAR, GtkMenuBarClass)) -#define GTK_IS_MENU_BAR(obj) (GTK_CHECK_TYPE ((obj), GTK_TYPE_MENU_BAR)) -#define GTK_IS_MENU_BAR_CLASS(klass) (GTK_CHECK_CLASS_TYPE ((klass), GTK_TYPE_MENU_BAR)) + +#define GTK_TYPE_MENU_BAR (gtk_menu_bar_get_type ()) +#define GTK_MENU_BAR(obj) (GTK_CHECK_CAST ((obj), GTK_TYPE_MENU_BAR, GtkMenuBar)) +#define GTK_MENU_BAR_CLASS(klass) (GTK_CHECK_CLASS_CAST ((klass), GTK_TYPE_MENU_BAR, GtkMenuBarClass)) +#define GTK_IS_MENU_BAR(obj) (GTK_CHECK_TYPE ((obj), GTK_TYPE_MENU_BAR)) +#define GTK_IS_MENU_BAR_CLASS(klass) (GTK_CHECK_CLASS_TYPE ((klass), GTK_TYPE_MENU_BAR)) +#define GTK_MENU_BAR_GET_CLASS(obj) (GTK_CHECK_GET_CLASS ((obj), GTK_TYPE_MENU_BAR, GtkMenuBarClass)) typedef struct _GtkMenuBar GtkMenuBar; -- cgit v1.2.1