summaryrefslogtreecommitdiff
path: root/gtk/gtkrange.h
diff options
context:
space:
mode:
authorManish Singh <yosh@gimp.org>2002-10-04 08:02:14 +0000
committerManish Singh <yosh@src.gnome.org>2002-10-04 08:02:14 +0000
commit85d726f9aa22ff9f6b9487b4f3e380a40f731f4b (patch)
tree4ad154a10bc1c543aacc7a3734e203b9ee73ae59 /gtk/gtkrange.h
parent424f913d43262a6a9eeeccddf6a795e38e7ac29a (diff)
downloadgdk-pixbuf-85d726f9aa22ff9f6b9487b4f3e380a40f731f4b.tar.gz
Deprecation cleanup
Fri Oct 4 00:57:53 2002 Manish Singh <yosh@gimp.org> * gtkhscrollbar.[ch] gtkhseparator.[ch] gtkrange.[ch] gtkscrollbar.[ch] gtkseparator.[ch] gtkseparatormenuitem.h gtkvscrollbar.[ch] gtkvseparator.[ch]: Deprecation cleanup
Diffstat (limited to 'gtk/gtkrange.h')
-rw-r--r--gtk/gtkrange.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/gtk/gtkrange.h b/gtk/gtkrange.h
index 4bfcafbf7..e62d4d2b1 100644
--- a/gtk/gtkrange.h
+++ b/gtk/gtkrange.h
@@ -39,11 +39,11 @@ extern "C" {
#define GTK_TYPE_RANGE (gtk_range_get_type ())
-#define GTK_RANGE(obj) (GTK_CHECK_CAST ((obj), GTK_TYPE_RANGE, GtkRange))
-#define GTK_RANGE_CLASS(klass) (GTK_CHECK_CLASS_CAST ((klass), GTK_TYPE_RANGE, GtkRangeClass))
-#define GTK_IS_RANGE(obj) (GTK_CHECK_TYPE ((obj), GTK_TYPE_RANGE))
-#define GTK_IS_RANGE_CLASS(klass) (GTK_CHECK_CLASS_TYPE ((klass), GTK_TYPE_RANGE))
-#define GTK_RANGE_GET_CLASS(obj) (GTK_CHECK_GET_CLASS ((obj), GTK_TYPE_RANGE, GtkRangeClass))
+#define GTK_RANGE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_RANGE, GtkRange))
+#define GTK_RANGE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_TYPE_RANGE, GtkRangeClass))
+#define GTK_IS_RANGE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_RANGE))
+#define GTK_IS_RANGE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_RANGE))
+#define GTK_RANGE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_RANGE, GtkRangeClass))
/* These two are private/opaque types, ignore */
typedef struct _GtkRangeLayout GtkRangeLayout;
@@ -128,7 +128,7 @@ struct _GtkRangeClass
};
-GtkType gtk_range_get_type (void) G_GNUC_CONST;
+GType gtk_range_get_type (void) G_GNUC_CONST;
void gtk_range_set_update_policy (GtkRange *range,
GtkUpdateType policy);