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



commit ea53e7791e03689519efcf47d4c8d6927633d0cc
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]