summaryrefslogtreecommitdiff
path: root/plugins/gtkui/test.vala
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/gtkui/test.vala')
-rw-r--r--plugins/gtkui/test.vala30
1 files changed, 0 insertions, 30 deletions
diff --git a/plugins/gtkui/test.vala b/plugins/gtkui/test.vala
deleted file mode 100644
index 9a50c952..00000000
--- a/plugins/gtkui/test.vala
+++ /dev/null
@@ -1,30 +0,0 @@
-using Deadbeef;
-
-Graphic gr = null;
-
-public static bool
-redraw ()
-{
- gr.queue_draw ();
- return true;
-}
-
-public static int
-main (string[] args)
-{
- Gtk.init (ref args);
- var wnd = new Gtk.Window (Gtk.WindowType.TOPLEVEL);
- wnd.destroy.connect (Gtk.main_quit);
-
- gr = new Graphic ();
- Graphic.inst = gr;
- wnd.add (gr);
- gr.show();
- wnd.show();
-
- Timeout.add (50, redraw);
-
- Gtk.main();
- return 0;
-}
-