diff options
author | Christian Persch <chpe@src.gnome.org> | 2008-06-19 18:36:48 +0000 |
---|---|---|
committer | Christian Persch <chpe@src.gnome.org> | 2008-06-19 18:36:48 +0000 |
commit | 3285ff9579626e9b1f939ca72cd4612b67fb0348 (patch) | |
tree | 59ec6274d0e8e9505c21668fef066e56cfa4655a /src/totem-time-label.h | |
parent | 95c56b3bd7d0a71b85c505b650b4aa9c20ee2af4 (diff) | |
download | totem-3285ff9579626e9b1f939ca72cd4612b67fb0348.tar.gz |
Don't use deprecated gtktype type and macros. Bug #539168.
svn path=/trunk/; revision=5483
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); |