summaryrefslogtreecommitdiff
path: root/gtk/gtklayout.h
diff options
context:
space:
mode:
authorManish Singh <yosh@gimp.org>2002-10-13 20:44:18 +0000
committerManish Singh <yosh@src.gnome.org>2002-10-13 20:44:18 +0000
commitaa54cfeede6e16fcde760a417a1c81da04ac8a0c (patch)
tree63a3b15c5ed70368e879bd1652acc488af6e43ce /gtk/gtklayout.h
parentc77265d3a7326bbe184c14bd85eed17712905e31 (diff)
downloadgtk+-aa54cfeede6e16fcde760a417a1c81da04ac8a0c.tar.gz
Deprecation cleanup
Sun Oct 13 13:43:16 2002 Manish Singh <yosh@gimp.org> * gtk/gtkcurve.[ch] gtk/gtkgamma.[ch] gtk/gtklayout.[ch] gtk/gtkwidget.[ch] modules/input/gtkimcontextxim.c modules/input/imam-et.c modules/input/imcyrillic-translit.c modules/input/imhangul.c modules/input/iminuktitut.c modules/input/imipa.c modules/input/imthai-broken.c modules/input/imti-er.c modules/input/imti-et.c modules/input/imviqr.c: Deprecation cleanup * modules/input/Makefile.am: Added disable deprecation flags
Diffstat (limited to 'gtk/gtklayout.h')
-rw-r--r--gtk/gtklayout.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/gtk/gtklayout.h b/gtk/gtklayout.h
index d12765008f..fbe4b50819 100644
--- a/gtk/gtklayout.h
+++ b/gtk/gtklayout.h
@@ -41,11 +41,11 @@ extern "C" {
#define GTK_TYPE_LAYOUT (gtk_layout_get_type ())
-#define GTK_LAYOUT(obj) (GTK_CHECK_CAST ((obj), GTK_TYPE_LAYOUT, GtkLayout))
-#define GTK_LAYOUT_CLASS(klass) (GTK_CHECK_CLASS_CAST ((klass), GTK_TYPE_LAYOUT, GtkLayoutClass))
-#define GTK_IS_LAYOUT(obj) (GTK_CHECK_TYPE ((obj), GTK_TYPE_LAYOUT))
-#define GTK_IS_LAYOUT_CLASS(klass) (GTK_CHECK_CLASS_TYPE ((klass), GTK_TYPE_LAYOUT))
-#define GTK_LAYOUT_GET_CLASS(obj) (GTK_CHECK_GET_CLASS ((obj), GTK_TYPE_LAYOUT, GtkLayoutClass))
+#define GTK_LAYOUT(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_LAYOUT, GtkLayout))
+#define GTK_LAYOUT_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_TYPE_LAYOUT, GtkLayoutClass))
+#define GTK_IS_LAYOUT(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_LAYOUT))
+#define GTK_IS_LAYOUT_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_LAYOUT))
+#define GTK_LAYOUT_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_LAYOUT, GtkLayoutClass))
typedef struct _GtkLayout GtkLayout;
@@ -89,7 +89,7 @@ struct _GtkLayoutClass
void (*_gtk_reserved4) (void);
};
-GtkType gtk_layout_get_type (void) G_GNUC_CONST;
+GType gtk_layout_get_type (void) G_GNUC_CONST;
GtkWidget* gtk_layout_new (GtkAdjustment *hadjustment,
GtkAdjustment *vadjustment);
void gtk_layout_put (GtkLayout *layout,