[gnome-shell] st-widget: Fix st_widget_set_theme



commit a347a7209116b98537aa4a7d62ea6e607ba389e5
Author: Jasper St. Pierre <jstpierre mecheye net>
Date:   Sun Jun 24 00:24:00 2012 -0400

    st-widget: Fix st_widget_set_theme
    
    https://bugzilla.gnome.org/show_bug.cgi?id=678737

 src/st/st-widget.c |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/src/st/st-widget.c b/src/st/st-widget.c
index c01866b..4476347 100644
--- a/src/st/st-widget.c
+++ b/src/st/st-widget.c
@@ -1010,7 +1010,7 @@ st_widget_class_init (StWidgetClass *klass)
  */
 void
 st_widget_set_theme (StWidget  *actor,
-                      StTheme  *theme)
+                     StTheme   *theme)
 {
   StWidgetPrivate *priv;
 
@@ -1018,11 +1018,11 @@ st_widget_set_theme (StWidget  *actor,
 
   priv = actor->priv;
 
-  if (theme !=priv->theme)
+  if (theme != priv->theme)
     {
       if (priv->theme)
         g_object_unref (priv->theme);
-      priv->theme = g_object_ref (priv->theme);
+      priv->theme = g_object_ref (theme);
 
       st_widget_style_changed (actor);
 



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