summaryrefslogtreecommitdiffstats
path: root/tests/examples/spectrum/demo-osssrc.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/examples/spectrum/demo-osssrc.c')
-rw-r--r--tests/examples/spectrum/demo-osssrc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/examples/spectrum/demo-osssrc.c b/tests/examples/spectrum/demo-osssrc.c
index 7f858ea9..5dc04ab2 100644
--- a/tests/examples/spectrum/demo-osssrc.c
+++ b/tests/examples/spectrum/demo-osssrc.c
@@ -7,7 +7,7 @@
#define DEFAULT_AUDIOSRC "alsasrc"
#define SPECT_BANDS 256
-GtkWidget *drawingarea;
+static GtkWidget *drawingarea = NULL;
static void
spectrum_chain (GstElement * sink, GstBuffer * buf, GstPad * pad,