summaryrefslogtreecommitdiff
path: root/gtk/gtkscale.h
diff options
context:
space:
mode:
authorManish Singh <yosh@gimp.org>2002-10-04 22:49:28 +0000
committerManish Singh <yosh@src.gnome.org>2002-10-04 22:49:28 +0000
commit2aa899147773436da85d0b43711c526c3ee8cf99 (patch)
tree620113290ff719826a224d9dd5a1b6a181264343 /gtk/gtkscale.h
parentfc7534bbcbf839799a145dcf106d3a9f7eb8a570 (diff)
downloadgdk-pixbuf-2aa899147773436da85d0b43711c526c3ee8cf99.tar.gz
Deprecation cleanup
Fri Oct 4 15:47:06 2002 Manish Singh <yosh@gimp.org> * gtkbbox.[ch] gtkhbbox.[ch] gtkhscale.[ch] gtkscale.[ch] gtkvscale.[ch] gtkvbbox.[ch]: Deprecation cleanup
Diffstat (limited to 'gtk/gtkscale.h')
-rw-r--r--gtk/gtkscale.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/gtk/gtkscale.h b/gtk/gtkscale.h
index 59b804746..82f3fea0c 100644
--- a/gtk/gtkscale.h
+++ b/gtk/gtkscale.h
@@ -38,11 +38,11 @@ extern "C" {
#define GTK_TYPE_SCALE (gtk_scale_get_type ())
-#define GTK_SCALE(obj) (GTK_CHECK_CAST ((obj), GTK_TYPE_SCALE, GtkScale))
-#define GTK_SCALE_CLASS(klass) (GTK_CHECK_CLASS_CAST ((klass), GTK_TYPE_SCALE, GtkScaleClass))
-#define GTK_IS_SCALE(obj) (GTK_CHECK_TYPE ((obj), GTK_TYPE_SCALE))
-#define GTK_IS_SCALE_CLASS(klass) (GTK_CHECK_CLASS_TYPE ((klass), GTK_TYPE_SCALE))
-#define GTK_SCALE_GET_CLASS(obj) (GTK_CHECK_GET_CLASS ((obj), GTK_TYPE_SCALE, GtkScaleClass))
+#define GTK_SCALE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_SCALE, GtkScale))
+#define GTK_SCALE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_TYPE_SCALE, GtkScaleClass))
+#define GTK_IS_SCALE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_SCALE))
+#define GTK_IS_SCALE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_SCALE))
+#define GTK_SCALE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_SCALE, GtkScaleClass))
typedef struct _GtkScale GtkScale;
@@ -73,7 +73,7 @@ struct _GtkScaleClass
void (*_gtk_reserved4) (void);
};
-GtkType gtk_scale_get_type (void) G_GNUC_CONST;
+GType gtk_scale_get_type (void) G_GNUC_CONST;
void gtk_scale_set_digits (GtkScale *scale,
gint digits);