[gtk+/wip/baedert/box: 28/29] widget: Not all toplevels are also containers
- From: Timm Bäder <baedert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/wip/baedert/box: 28/29] widget: Not all toplevels are also containers
- Date: Mon, 17 Oct 2016 07:16:45 +0000 (UTC)
commit 9809626ab97d4a015b4e393b2ebc096fb453399f
Author: Timm Bäder <mail baedert org>
Date: Mon Oct 17 09:13:51 2016 +0200
widget: Not all toplevels are also containers
gtk/gtkwidget.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gtk/gtkwidget.c b/gtk/gtkwidget.c
index 29708f3..1d2c3db 100644
--- a/gtk/gtkwidget.c
+++ b/gtk/gtkwidget.c
@@ -5225,7 +5225,7 @@ gtk_widget_queue_resize_internal (GtkWidget *widget)
}
}
- if (_gtk_widget_is_toplevel (widget))
+ if (_gtk_widget_is_toplevel (widget) && GTK_IS_CONTAINER (widget))
{
gtk_container_queue_resize_handler (GTK_CONTAINER (widget));
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]