summaryrefslogtreecommitdiff
path: root/plugins/gtkui/eq.c
diff options
context:
space:
mode:
authorGravatar Alexey Yakovenko <wakeroid@gmail.com>2010-04-18 13:55:33 +0200
committerGravatar Alexey Yakovenko <wakeroid@gmail.com>2010-04-18 13:56:28 +0200
commit9aa9637cb7879b3ad9b0295495220be00dc4eab2 (patch)
treefa4f0eb5806ce73868acab795c880b8b1c86d29d /plugins/gtkui/eq.c
parent47814dcd4e5749be883042999920308936d9a899 (diff)
removed location entry from metadata page;
fixed couple of gtk errors
Diffstat (limited to 'plugins/gtkui/eq.c')
-rw-r--r--plugins/gtkui/eq.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/plugins/gtkui/eq.c b/plugins/gtkui/eq.c
index 494333e0..fef3bda3 100644
--- a/plugins/gtkui/eq.c
+++ b/plugins/gtkui/eq.c
@@ -367,6 +367,8 @@ eq_window_hide (void) {
void
eq_window_destroy (void) {
- gtk_widget_destroy (eqwin);
- eqwin = NULL;
+ if (eqwin) {
+ gtk_widget_destroy (eqwin);
+ eqwin = NULL;
+ }
}