aboutsummaryrefslogtreecommitdiffstats
path: root/xenwatch.c
diff options
context:
space:
mode:
authorkraxel <kraxel>2005-12-08 11:17:50 +0000
committerkraxel <kraxel>2005-12-08 11:17:50 +0000
commite22cc1e84130dfe1086088c0452efc6596e5b855 (patch)
tree95045ace03f576aa357b079a780853f66044c0ad /xenwatch.c
downloadxenwatch-e22cc1e84130dfe1086088c0452efc6596e5b855.tar.gz
Initial revision
Diffstat (limited to 'xenwatch.c')
-rw-r--r--xenwatch.c27
1 files changed, 27 insertions, 0 deletions
diff --git a/xenwatch.c b/xenwatch.c
new file mode 100644
index 0000000..2a13a65
--- /dev/null
+++ b/xenwatch.c
@@ -0,0 +1,27 @@
+#include <stdio.h>
+#include <stdlib.h>
+#include <unistd.h>
+#include <string.h>
+#include <errno.h>
+#include <locale.h>
+
+#include <gtk/gtk.h>
+
+#include "xenviews.h"
+
+/* ------------------------------------------------------------------ */
+
+int
+main(int argc, char *argv[])
+{
+ setlocale(LC_ALL,"");
+ gtk_init(&argc, &argv);
+
+ xen_doms_create_window();
+ gtk_widget_show_all(xd_toplevel);
+
+ gtk_main();
+
+ fprintf(stderr,"bye...\n");
+ exit(0);
+}