[gtk+] notebook: On drag window hide, fix css nodes
- From: Benjamin Otte <otte src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] notebook: On drag window hide, fix css nodes
- Date: Thu, 22 Oct 2015 18:29:51 +0000 (UTC)
commit 6cf7c03334826fa14d808fee6b1f1618d80687db
Author: Benjamin Otte <otte redhat com>
Date: Thu Oct 22 20:29:10 2015 +0200
notebook: On drag window hide, fix css nodes
gtk/gtknotebook.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/gtk/gtknotebook.c b/gtk/gtknotebook.c
index cc3b29f..1cf39fb 100644
--- a/gtk/gtknotebook.c
+++ b/gtk/gtknotebook.c
@@ -3091,6 +3091,7 @@ hide_drag_window (GtkNotebook *notebook,
else
gtk_widget_unparent (page->tab_label);
+ gtk_css_node_set_parent (gtk_widget_get_css_node (page->tab_label), page->cssnode);
gtk_widget_set_parent (page->tab_label, widget);
g_object_unref (page->tab_label);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]