diff options
Diffstat (limited to 'gtk/gtkhsv.h')
-rw-r--r-- | gtk/gtkhsv.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/gtk/gtkhsv.h b/gtk/gtkhsv.h index 789c742b2..c8dac7956 100644 --- a/gtk/gtkhsv.h +++ b/gtk/gtkhsv.h @@ -38,11 +38,11 @@ extern "C" { #endif #define GTK_TYPE_HSV (gtk_hsv_get_type ()) -#define GTK_HSV(obj) (GTK_CHECK_CAST ((obj), GTK_TYPE_HSV, GtkHSV)) -#define GTK_HSV_CLASS(klass) (GTK_CHECK_CLASS_CAST ((klass), GTK_TYPE_HSV, GtkHSVClass)) -#define GTK_IS_HSV(obj) (GTK_CHECK_TYPE ((obj), GTK_TYPE_HSV)) -#define GTK_IS_HSV_CLASS(klass) (GTK_CHECK_CLASS_TYPE ((klass), GTK_TYPE_HSV)) -#define GTK_HSV_GET_CLASS(obj) (GTK_CHECK_GET_CLASS ((obj), GTK_TYPE_HSV, GtkHSVClass)) +#define GTK_HSV(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_HSV, GtkHSV)) +#define GTK_HSV_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_TYPE_HSV, GtkHSVClass)) +#define GTK_IS_HSV(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_HSV)) +#define GTK_IS_HSV_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_HSV)) +#define GTK_HSV_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_HSV, GtkHSVClass)) typedef struct _GtkHSV GtkHSV; @@ -70,7 +70,7 @@ struct _GtkHSVClass }; -GtkType gtk_hsv_get_type (void) G_GNUC_CONST; +GType gtk_hsv_get_type (void) G_GNUC_CONST; GtkWidget* gtk_hsv_new (void); void gtk_hsv_set_color (GtkHSV *hsv, double h, |