File: xenstore-gtk.c

package info (click to toggle)
xenwatch 0.5.4-3
  • links: PTS
  • area: main
  • in suites: wheezy
  • size: 488 kB
  • sloc: ansic: 7,167; sh: 36; makefile: 4
file content (28 lines) | stat: -rw-r--r-- 499 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
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);
}