28 #include <libxml/parser.h>
43 int main (
int argc,
char *argv[])
49 gtk_init (&argc, &argv);
53 window = gtk_window_new (GTK_WINDOW_TOPLEVEL);
54 gtk_window_set_title (GTK_WINDOW (window),
"GcuCrystalViewer test");
55 g_signal_connect (G_OBJECT (window),
"destroy",
56 G_CALLBACK (gtk_main_quit),
62 filename = SRCDIR
"/nickel.gcrystal";
63 xml = xmlParseFile (filename);
66 gtk_container_add (GTK_CONTAINER (window), viewer);
67 gtk_widget_show_all (window);