summaryrefslogtreecommitdiff
path: root/prev/gtkdtp/test.c
diff options
context:
space:
mode:
authorPietro Gagliardi <[email protected]>2015-12-11 20:37:59 -0500
committerPietro Gagliardi <[email protected]>2015-12-11 20:37:59 -0500
commitf8e3f12ab02b528f2a05a4f713d7af7ea8e44b42 (patch)
tree82dedf4d37f0f6d31e88ebb2ca1ce6499dead261 /prev/gtkdtp/test.c
parente34c561ed5bedeb180437ec165882b98d70d38c1 (diff)
LET'S GET THIS FINAL REWRITE EVER STARTED
Diffstat (limited to 'prev/gtkdtp/test.c')
-rw-r--r--prev/gtkdtp/test.c16
1 files changed, 16 insertions, 0 deletions
diff --git a/prev/gtkdtp/test.c b/prev/gtkdtp/test.c
new file mode 100644
index 0000000..c867c11
--- /dev/null
+++ b/prev/gtkdtp/test.c
@@ -0,0 +1,16 @@
+// 9 january 2015
+#include "dtp.h"
+
+// #qo pkg-config: gtk+-3.0
+
+int main(void)
+{
+ GtkWidget *mainwin;
+
+ gtk_init(NULL, NULL);
+ mainwin = gtk_window_new(GTK_WINDOW_TOPLEVEL);
+ gtk_container_add(GTK_CONTAINER(mainwin), g_object_new(goDateTimePicker_get_type(), NULL));
+ gtk_widget_show_all(mainwin);
+ gtk_main();
+ return 0;
+}