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-playlist.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-playlist.h')
-rw-r--r-- | src/totem-playlist.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/totem-playlist.h b/src/totem-playlist.h index 61f1a01f7..36b9b3515 100644 --- a/src/totem-playlist.h +++ b/src/totem-playlist.h @@ -30,10 +30,10 @@ G_BEGIN_DECLS #define TOTEM_TYPE_PLAYLIST (totem_playlist_get_type ()) -#define TOTEM_PLAYLIST(obj) (GTK_CHECK_CAST ((obj), TOTEM_TYPE_PLAYLIST, TotemPlaylist)) -#define TOTEM_PLAYLIST_CLASS(klass) (GTK_CHECK_CLASS_CAST ((klass), TOTEM_TYPE_PLAYLIST, TotemPlaylistClass)) -#define TOTEM_IS_PLAYLIST(obj) (GTK_CHECK_TYPE ((obj), TOTEM_TYPE_PLAYLIST)) -#define TOTEM_IS_PLAYLIST_CLASS(klass) (GTK_CHECK_CLASS_TYPE ((klass), TOTEM_TYPE_PLAYLIST)) +#define TOTEM_PLAYLIST(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TOTEM_TYPE_PLAYLIST, TotemPlaylist)) +#define TOTEM_PLAYLIST_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TOTEM_TYPE_PLAYLIST, TotemPlaylistClass)) +#define TOTEM_IS_PLAYLIST(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TOTEM_TYPE_PLAYLIST)) +#define TOTEM_IS_PLAYLIST_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TOTEM_TYPE_PLAYLIST)) typedef enum { TOTEM_PLAYLIST_STATUS_NONE, @@ -74,7 +74,7 @@ struct TotemPlaylistClass { void (*item_removed) (TotemPlaylist *playlist, const gchar *filename, const gchar *uri); }; -GtkType totem_playlist_get_type (void); +GType totem_playlist_get_type (void); GtkWidget *totem_playlist_new (void); /* The application is responsible for checking that the mrl is correct |