From 7c2a32fec6774f07fa4149526b0e10e87e52f456 Mon Sep 17 00:00:00 2001 From: Pietro Gagliardi Date: Wed, 8 Apr 2015 18:58:59 -0400 Subject: Implemented the parent updating logic on GTK+. --- new/container_unix.c | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'new/container_unix.c') 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)); +} -- cgit v1.2.3