From a347a7209116b98537aa4a7d62ea6e607ba389e5 Mon Sep 17 00:00:00 2001 From: "Jasper St. Pierre" Date: Sun, 24 Jun 2012 00:24:00 -0400 Subject: [PATCH] st-widget: Fix st_widget_set_theme https://bugzilla.gnome.org/show_bug.cgi?id=678737 --- src/st/st-widget.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/st/st-widget.c b/src/st/st-widget.c index c01866bee..4476347a5 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);