diff options
Diffstat (limited to 'src/totem-time-label.h')
-rw-r--r-- | src/totem-time-label.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/totem-time-label.h b/src/totem-time-label.h index 1afdb86ab..f080135d6 100644 --- a/src/totem-time-label.h +++ b/src/totem-time-label.h @@ -5,10 +5,10 @@ #include <gtk/gtklabel.h> #define TOTEM_TYPE_TIME_LABEL (totem_time_label_get_type ()) -#define TOTEM_TIME_LABEL(obj) (GTK_CHECK_CAST ((obj), TOTEM_TYPE_TIME_LABEL, TotemTimeLabel)) -#define TOTEM_TIME_LABEL_CLASS(klass) (GTK_CHECK_CLASS_CAST ((klass), TOTEM_TYPE_TIME_LABEL, TotemTimeLabelClass)) -#define TOTEM_IS_TIME_LABEL(obj) (GTK_CHECK_TYPE ((obj), TOTEM_TYPE_TIME_LABEL)) -#define TOTEM_IS_TIME_LABEL_CLASS(klass) (GTK_CHECK_CLASS_TYPE ((klass), TOTEM_TYPE_TIME_LABEL)) +#define TOTEM_TIME_LABEL(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TOTEM_TYPE_TIME_LABEL, TotemTimeLabel)) +#define TOTEM_TIME_LABEL_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TOTEM_TYPE_TIME_LABEL, TotemTimeLabelClass)) +#define TOTEM_IS_TIME_LABEL(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TOTEM_TYPE_TIME_LABEL)) +#define TOTEM_IS_TIME_LABEL_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TOTEM_TYPE_TIME_LABEL)) typedef struct TotemTimeLabel TotemTimeLabel; typedef struct TotemTimeLabelClass TotemTimeLabelClass; @@ -23,7 +23,7 @@ struct TotemTimeLabelClass { GtkLabelClass parent_class; }; -GtkType totem_time_label_get_type (void); +GType totem_time_label_get_type (void); GtkWidget *totem_time_label_new (void); void totem_time_label_set_time (TotemTimeLabel *label, gint64 time, gint64 length); |