projects
/
espeaktime
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
applet: optionally build stand-alone executable for testing
[espeaktime]
/
src
/
applet.c
diff --git
a/src/applet.c
b/src/applet.c
index
72e47f1
..
82170de
100644
(file)
--- a/
src/applet.c
+++ b/
src/applet.c
@@
-27,3
+27,10
@@
osso_return_t save_state(osso_context_t *osso, gpointer data)
return OSSO_OK;
}
+#ifdef TEST
+int main(int argc, char *argv[])
+{
+ gtk_init(&argc, &argv);
+ return execute(NULL, NULL, 0);
+}
+#endif