[gtk+/wip/cssvalue: 24/164] THIS CODE SHOULD NOT GO IN



commit 217005d62e0ce1462b440ffa333eb45460af0b5d
Author: Benjamin Otte <otte redhat com>
Date:   Tue Mar 20 05:49:48 2012 +0100

    THIS CODE SHOULD NOT GO IN
    
    Make sure it gets rebased out please.

 gtk/gtkstylecontext.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/gtk/gtkstylecontext.c b/gtk/gtkstylecontext.c
index 1ca099d..7856534 100644
--- a/gtk/gtkstylecontext.c
+++ b/gtk/gtkstylecontext.c
@@ -2252,6 +2252,9 @@ _gtk_style_context_peek_style_property (GtkStyleContext *context,
   key.state = state;
   key.pspec = pspec;
 
+  if (priv->widget)
+    gtk_widget_get_path (priv->widget);
+
   /* need value cache array */
   if (!data->property_cache)
     data->property_cache = g_array_new (FALSE, FALSE, sizeof (PropertyValue));



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