[gtk+/wip/baedert/box: 64/72] 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: 64/72] widget: Not all toplevels are also containers
- Date: Mon, 17 Oct 2016 16:55:05 +0000 (UTC)
commit d5d167190546215f1d66829d1a055faff88bcc43
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 55c6569..2854d07 100644
--- a/gtk/gtkwidget.c
+++ b/gtk/gtkwidget.c
@@ -5219,7 +5219,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]