diff options
author | Bastien Nocera <hadess@hadess.net> | 2003-07-24 21:11:41 +0000 |
---|---|---|
committer | Bastien Nocera <hadess@src.gnome.org> | 2003-07-24 21:11:41 +0000 |
commit | b171c26de780556051b6eac7fed6614086ab0c35 (patch) | |
tree | 9e7c3477804eb8bb9f344f069233ea9f021d3643 /src/totem-playlist.h | |
parent | 9f985dd65fe130d294d0baf913cf506d23bd70f2 (diff) | |
download | totem-b171c26de780556051b6eac7fed6614086ab0c35.tar.gz |
upd from libbacon couple of coding style cleanups update the playlist
2003-07-24 Bastien Nocera <hadess@hadess.net>
* src/cd-drive.c: (get_device_max_speed), (get_scsi_cd_name),
(add_linux_cd_recorder): upd from libbacon
* src/totem-playlist.[ch]: couple of coding style cleanups
* src/totem.c: (on_got_metadata_event): update the playlist title
when playing a CD with CDDB
Diffstat (limited to 'src/totem-playlist.h')
-rw-r--r-- | src/totem-playlist.h | 19 |
1 files changed, 10 insertions, 9 deletions
diff --git a/src/totem-playlist.h b/src/totem-playlist.h index e94b455bb..40be0dd27 100644 --- a/src/totem-playlist.h +++ b/src/totem-playlist.h @@ -33,9 +33,9 @@ G_BEGIN_DECLS #define GTK_IS_PLAYLIST(obj) (GTK_CHECK_TYPE ((obj), GTK_TYPE_PLAYLIST)) #define GTK_IS_PLAYLIST_CLASS(klass) (GTK_CHECK_CLASS_TYPE ((klass), GTK_TYPE_PLAYLIST)) -typedef struct TotemPlaylist TotemPlaylist; -typedef struct TotemPlaylistClass TotemPlaylistClass; -typedef struct TotemPlaylistPrivate TotemPlaylistPrivate; +typedef struct TotemPlaylist TotemPlaylist; +typedef struct TotemPlaylistClass TotemPlaylistClass; +typedef struct TotemPlaylistPrivate TotemPlaylistPrivate; struct TotemPlaylist { GtkDialog parent; @@ -52,26 +52,27 @@ struct TotemPlaylistClass { GtkType totem_playlist_get_type (void); GtkWidget *totem_playlist_new (const char *glade_filename, - GdkPixbuf *playing_pix); + GdkPixbuf *playing_pix); /* The application is responsible for checking that the mrl is correct * Handles directories, m3u playlists, and shoutcast playlists * @display_name is if you have a preferred display string for the mrl, * NULL otherwise */ -gboolean totem_playlist_add_mrl (TotemPlaylist *playlist, const char *mrl, - const char *display_name); +gboolean totem_playlist_add_mrl (TotemPlaylist *playlist, const char *mrl, + const char *display_name); void totem_playlist_save_current_playlist (TotemPlaylist *playlist, - const char *output); + const char *output); /* totem_playlist_clear doesn't emit the current_removed signal, even if it does * because the caller should know what to do after it's done with clearing */ void totem_playlist_clear (TotemPlaylist *playlist); char *totem_playlist_get_current_mrl (TotemPlaylist *playlist); char *totem_playlist_get_current_title (TotemPlaylist *playlist, - gboolean *custom); -gboolean totem_playlist_set_title (TotemPlaylist *playlist, const gchar *title); + gboolean *custom); +gboolean totem_playlist_set_title (TotemPlaylist *playlist, + const gchar *title); gboolean totem_playlist_has_previous_mrl (TotemPlaylist *playlist); gboolean totem_playlist_has_next_mrl (TotemPlaylist *playlist); |