summaryrefslogtreecommitdiffstats
path: root/xembed/tests/gtk-common.h
diff options
context:
space:
mode:
Diffstat (limited to 'xembed/tests/gtk-common.h')
-rw-r--r--xembed/tests/gtk-common.h22
1 files changed, 22 insertions, 0 deletions
diff --git a/xembed/tests/gtk-common.h b/xembed/tests/gtk-common.h
new file mode 100644
index 0000000..ac77d46
--- /dev/null
+++ b/xembed/tests/gtk-common.h
@@ -0,0 +1,22 @@
+typedef struct _Child Child;
+typedef struct _Socket Socket;
+
+struct _Socket
+{
+ GtkWidget *box;
+ GtkWidget *frame;
+ GtkWidget *socket;
+
+ Child *child;
+};
+
+
+void wait_for_children (void);
+
+Socket *socket_new (void);
+void socket_start_child (Socket *socket,
+ gboolean active,
+ gboolean qt);
+
+
+