[gtk+] frame: Get the render node from the gadget



commit b2a0105234fe9ab35c4b1762a77abe3c6b8e7e56
Author: Timm Bäder <mail baedert org>
Date:   Fri Oct 28 19:32:50 2016 +0200

    frame: Get the render node from the gadget
    
    So we get a proper css background etc. applied.

 gtk/gtkframe.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gtk/gtkframe.c b/gtk/gtkframe.c
index 47ab381..8ff2088 100644
--- a/gtk/gtkframe.c
+++ b/gtk/gtkframe.c
@@ -693,7 +693,7 @@ gtk_frame_get_render_node (GtkWidget   *widget,
 
   gtk_widget_get_allocation (widget, &allocation);
 
-  node = gtk_widget_create_render_node (widget, renderer, "Frame");
+  node = gtk_css_gadget_get_render_node (priv->gadget, renderer, FALSE);
 
   cr = gsk_render_node_get_draw_context (node);
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]