summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorScott Balneaves <[email protected]>2013-05-03 10:46:46 -0500
committerScott Balneaves <[email protected]>2013-05-03 10:46:46 -0500
commit79c44785180728fb53b2a7cc9b9512619fe45a79 (patch)
treed561a951821a619db999442ab253f96197af9311 /test
parentd8ff65934543f6e9f2220e8d95b73cd21307f937 (diff)
downloadlibmatekbd-79c44785180728fb53b2a7cc9b9512619fe45a79.tar.bz2
libmatekbd-79c44785180728fb53b2a7cc9b9512619fe45a79.tar.xz
Clean up compile, fix bug with handling variants. Closes #8
Diffstat (limited to 'test')
-rw-r--r--test/matekbd-status-test.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/matekbd-status-test.c b/test/matekbd-status-test.c
index d52c598..78cdb48 100644
--- a/test/matekbd-status-test.c
+++ b/test/matekbd-status-test.c
@@ -49,6 +49,11 @@ main (int argc, char **argv)
icon = matekbd_status_new ();
+ if (icon == NULL)
+ {
+ return 1;
+ }
+
gtk_main ();
return 0;