[gtk+] stylecontext: Remove line that is a no-op
- From: Benjamin Otte <otte src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] stylecontext: Remove line that is a no-op
- Date: Mon, 7 Sep 2015 12:34:26 +0000 (UTC)
commit 9020b5bd17889e1343890d124c52cd07fadf0b5b
Author: Benjamin Otte <otte redhat com>
Date: Sat Sep 5 06:46:29 2015 +0200
stylecontext: Remove line that is a no-op
Creating the transient node will already copy the widget type. So
copying again will not do anything.
gtk/gtkstylecontext.c | 1 -
1 files changed, 0 insertions(+), 1 deletions(-)
---
diff --git a/gtk/gtkstylecontext.c b/gtk/gtkstylecontext.c
index e266e00..b359612 100644
--- a/gtk/gtkstylecontext.c
+++ b/gtk/gtkstylecontext.c
@@ -1233,7 +1233,6 @@ gtk_style_context_save (GtkStyleContext *context)
cssnode = gtk_css_transient_node_new (priv->cssnode);
gtk_css_node_set_parent (cssnode, gtk_style_context_get_root (context));
- gtk_css_node_set_widget_type (cssnode, gtk_css_node_get_widget_type (priv->cssnode));
priv->saved_nodes = g_slist_prepend (priv->saved_nodes, priv->cssnode);
priv->cssnode = cssnode;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]