summaryrefslogtreecommitdiff
path: root/new/container_unix.c
diff options
context:
space:
mode:
authorPietro Gagliardi <[email protected]>2015-04-08 18:58:59 -0400
committerPietro Gagliardi <[email protected]>2015-04-08 18:58:59 -0400
commit7c2a32fec6774f07fa4149526b0e10e87e52f456 (patch)
treea0378357f1b799619282f09387d8b967824de71c /new/container_unix.c
parentc1c78b5aeb6b9d85886af3ea00a3c9ddc1ed372d (diff)
Implemented the parent updating logic on GTK+.
Diffstat (limited to 'new/container_unix.c')
-rw-r--r--new/container_unix.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/new/container_unix.c b/new/container_unix.c
index e3f8da3..d9d6996 100644
--- a/new/container_unix.c
+++ b/new/container_unix.c
@@ -102,3 +102,9 @@ GtkWidget *newContainer(void)
{
return GTK_WIDGET(g_object_new(uiContainerType, NULL));
}
+
+void updateParent(uintptr_t parent)
+{
+ if (parent != 0)
+ gtk_widget_queue_resize(GTK_WIDGET(parent));
+}