X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~mdw/git/disorder/blobdiff_plain/a6712ea8e5d17b646625bba5fc1141927c5d6ad9..d64e1d92acaf5a00908f630848f1f308574847ea:/disobedience/disobedience.h diff --git a/disobedience/disobedience.h b/disobedience/disobedience.h index 29a278e..11da2c3 100644 --- a/disobedience/disobedience.h +++ b/disobedience/disobedience.h @@ -22,8 +22,6 @@ #ifndef DISOBEDIENCE_H #define DISOBEDIENCE_H -#define PLAYLISTS 1 - #include "common.h" #include @@ -119,7 +117,8 @@ void popup_protocol_error(int code, const char *msg); /* Report an error */ -void properties(int ntracks, const char **tracks); +void properties(int ntracks, const char **tracks, + GtkWidget *parent); /* Pop up a properties window for a list of tracks */ GtkWidget *scroll_widget(GtkWidget *child); @@ -136,7 +135,8 @@ void popup_submsg(GtkWidget *parent, GtkMessageType mt, const char *msg); void fpopup_msg(GtkMessageType mt, const char *fmt, ...); -struct progress_window *progress_window_new(const char *title); +struct progress_window *progress_window_new(const char *title, + GtkWidget *parent); /* Pop up a progress window */ void progress_window_progress(struct progress_window *pw, @@ -257,7 +257,6 @@ void popup_settings(void); /* Playlists */ -#if PLAYLISTS void playlists_init(void); void playlist_window_create(gpointer callback_data, guint callback_action, @@ -267,7 +266,6 @@ extern int nplaylists; extern GtkWidget *menu_playlists_widget; extern GtkWidget *playlists_menu; extern GtkWidget *menu_editplaylists_widget; -#endif #endif /* DISOBEDIENCE_H */