~mdw
/
disorder
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
copyright dates
[disorder]
/
disobedience
/
properties.c
diff --git
a/disobedience/properties.c
b/disobedience/properties.c
index
ce1cb53
..
e9f61a2
100644
(file)
--- 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, c
onst c
har **tracks) {
int n, m;
struct prefdata *f;
GtkWidget *hbox, *vbox, *button, *label, *entry, *propagate, *content;
GdkPixbuf *pb;
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) {
/* 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) {