static void impl_song_properties (RBSource *asource) { RBMissingFilesSource *source = RB_MISSING_FILES_SOURCE (asource); GtkWidget *song_info = NULL; g_return_if_fail (source->priv->view != NULL); song_info = rb_song_info_new (asource, NULL); if (song_info) gtk_widget_show_all (song_info); else rb_debug ("failed to create dialog, or no selection!"); }
static void impl_song_properties (RBSource *asource) { RBPlaylistSource *source = RB_PLAYLIST_SOURCE (asource); GtkWidget *song_info = NULL; g_return_if_fail (source->priv->songs != NULL); song_info = rb_song_info_new (asource, NULL); if (song_info) gtk_widget_show_all (song_info); else rb_debug ("failed to create dialog, or no selection!"); }