[gtk+/gtk-style-context: 56/276] GtkStyleContext: Fix compiler warning.



commit 01c2b8ae8866151c7b538926eb560efc52bf5ce6
Author: Carlos Garnacho <carlosg gnome org>
Date:   Sat Mar 27 21:30:30 2010 +0100

    GtkStyleContext: Fix compiler warning.

 gtk/gtkstylecontext.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gtk/gtkstylecontext.c b/gtk/gtkstylecontext.c
index 566538f..cb6bab6 100644
--- a/gtk/gtkstylecontext.c
+++ b/gtk/gtkstylecontext.c
@@ -81,7 +81,7 @@ gtk_style_context_init (GtkStyleContext *style_context)
 
   priv = GTK_STYLE_CONTEXT_GET_PRIVATE (style_context);
   priv->store = gtk_style_set_new ();
-  priv->theming_engine = gtk_theming_engine_load (NULL);
+  priv->theming_engine = (GtkThemingEngine *) gtk_theming_engine_load (NULL);
 }
 
 static GtkStyleProviderData *



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