[gtk+] container: Don't queue resize on non-toplevel widgets
- From: Timm Bäder <baedert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] container: Don't queue resize on non-toplevel widgets
- Date: Thu, 20 Oct 2016 15:08:05 +0000 (UTC)
commit e772c2b622725c9dc75b1405fa5874106b386178
Author: Timm Bäder <mail baedert org>
Date: Thu Oct 20 13:35:45 2016 +0200
container: Don't queue resize on non-toplevel widgets
gtk/gtkcontainer.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gtk/gtkcontainer.c b/gtk/gtkcontainer.c
index 9ad2763..95f85ea 100644
--- a/gtk/gtkcontainer.c
+++ b/gtk/gtkcontainer.c
@@ -1867,7 +1867,7 @@ gtk_container_real_check_resize (GtkContainer *container)
if (_gtk_widget_get_alloc_needed (widget))
{
- if (_gtk_widget_is_toplevel (widget))
+ if (!_gtk_widget_is_toplevel (widget))
{
gtk_widget_get_preferred_size (widget, &requisition, NULL);
gtk_widget_get_allocated_size (widget, &allocation, &baseline);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]