summaryrefslogtreecommitdiff
path: root/test/run-tests.c
diff options
context:
space:
mode:
authorP. F. Chimento <philip.chimento@gmail.com>2013-04-15 18:04:27 +0200
committerP. F. Chimento <philip.chimento@gmail.com>2013-04-24 14:48:15 +0200
commit096c63f7ed002b99a995c35a407483a0bfa161c5 (patch)
treecf324aae1bce4f5cb9edf42e68bc9c7cb4da0964 /test/run-tests.c
parent7fc4090461ad888612491814e5a44aaf7e52d7ff (diff)
Application class
Add an EosApplication class. Functionality: - present main application window when activated - warn if more than one application window is added Also add a stub EosWindow class that overrides GtkWindow's "application" property to be a construct-only property. [#4]
Diffstat (limited to 'test/run-tests.c')
-rw-r--r--test/run-tests.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/run-tests.c b/test/run-tests.c
index ba016bc..96cd4b8 100644
--- a/test/run-tests.c
+++ b/test/run-tests.c
@@ -2,6 +2,7 @@
#include <glib-object.h>
#include <glib.h>
+#include <gtk/gtk.h>
#include "run-tests.h"
@@ -10,9 +11,12 @@ main (int argc,
char **argv)
{
g_test_init (&argc, &argv, NULL);
+ gtk_init (&argc, &argv);
add_init_tests ();
add_hello_tests ();
+ add_application_tests ();
+ add_window_tests ();
return g_test_run ();
}