diff options
author | kraxel <kraxel> | 2008-12-18 12:19:58 +0000 |
---|---|---|
committer | kraxel <kraxel> | 2008-12-18 12:19:58 +0000 |
commit | 6b051823c1fa1e797abdfa5b696c9f6b051e9f6e (patch) | |
tree | 94b06d8c5c381598b45e892261e49cf1189cb75d /xenstore-gtk.c | |
parent | c31563927b4291cdf4ef698eed706e991a43461f (diff) | |
download | xenwatch-6b051823c1fa1e797abdfa5b696c9f6b051e9f6e.tar.gz |
- rename xenstore to avoid name conflich with xen-shipped utility.
- update makefile bits.
- disable tty busy check.
- update version.
Diffstat (limited to 'xenstore-gtk.c')
-rw-r--r-- | xenstore-gtk.c | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/xenstore-gtk.c b/xenstore-gtk.c new file mode 100644 index 0000000..3aaa229 --- /dev/null +++ b/xenstore-gtk.c @@ -0,0 +1,28 @@ +#include <stdio.h> +#include <stdlib.h> +#include <unistd.h> +#include <string.h> +#include <errno.h> +#include <fcntl.h> +#include <locale.h> +#include <signal.h> + +#include <gtk/gtk.h> + +#include "xenviews.h" + +/* ------------------------------------------------------------------ */ + +int +main(int argc, char *argv[]) +{ + setlocale(LC_ALL,""); + gtk_init(&argc, &argv); + + xenstore_create_window(); + gtk_widget_show_all(xs_toplevel); + + gtk_main(); + fprintf(stderr,"bye...\n"); + exit(0); +} |