[gtk+/gtk-style-context: 486/490] Fix another parameter mismatch



commit 33a92ba721a55c88f0f27fc5d2d06bc042f882c8
Author: Matthias Clasen <mclasen redhat com>
Date:   Tue Nov 23 20:50:45 2010 -0500

    Fix another parameter mismatch

 gtk/gtkthemingengine.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/gtk/gtkthemingengine.c b/gtk/gtkthemingengine.c
index 233fb4e..81e63e6 100644
--- a/gtk/gtkthemingengine.c
+++ b/gtk/gtkthemingengine.c
@@ -330,7 +330,6 @@ _gtk_theming_engine_set_context (GtkThemingEngine *engine,
 
 /**
  * gtk_theming_engine_register_property:
- * @engine: a #GtkThemingEngine
  * @name_space: namespace for the property name
  * @parse_func: parsing function to use, or %NULL
  * @pspec: the #GParamSpec for the new property
@@ -2610,6 +2609,8 @@ gtk_theming_engine_render_activity (GtkThemingEngine *engine,
       gdouble half;
       gint i;
 
+      num_steps = 0;
+
       gtk_theming_engine_get_style (engine,
                                     "num-steps", &num_steps,
                                     NULL);



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