X-Git-Url: https://git.distorted.org.uk/~mdw/disorder/blobdiff_plain/f4f5a474a9ab361688f11907a77c4caf91351af3..913f2c0a04c0f943145fe387395cc4e44e42d582:/disobedience/properties.c diff --git a/disobedience/properties.c b/disobedience/properties.c index ce1cb53..e9f61a2 100644 --- a/disobedience/properties.c +++ b/disobedience/properties.c @@ -171,12 +171,15 @@ static void propagate_clicked(GtkButton attribute((unused)) *button, } } -void properties(int ntracks, char **tracks) { +void properties(int ntracks, const char **tracks) { int n, m; struct prefdata *f; GtkWidget *hbox, *vbox, *button, *label, *entry, *propagate, *content; GdkPixbuf *pb; - + + /* If no tracks, do nothign */ + if(!ntracks) + return; /* If there is a properties window open then just bring it to the * front. It might not have the right values in... */ if(properties_window) {