aboutsummaryrefslogtreecommitdiff
path: root/src/libappindicator
diff options
context:
space:
mode:
authorKrzysztof Klimonda <kklimonda@syntaxhighlighted.com>2010-03-25 16:29:28 +0100
committerKrzysztof Klimonda <kklimonda@syntaxhighlighted.com>2010-03-25 16:29:28 +0100
commit26a1f2691a9086347b76002edb4304728f481f0c (patch)
tree93e9ffe1d24fb70985139ffd5d9b921d96119840 /src/libappindicator
parent85400dc1f4b95227f9160b96e30841e1e90ee60a (diff)
downloadlibayatana-appindicator-26a1f2691a9086347b76002edb4304728f481f0c.tar.gz
libayatana-appindicator-26a1f2691a9086347b76002edb4304728f481f0c.tar.bz2
libayatana-appindicator-26a1f2691a9086347b76002edb4304728f481f0c.zip
remove g_object_ref_sink call from status_icon_changes
Diffstat (limited to 'src/libappindicator')
-rw-r--r--src/libappindicator/app-indicator.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/libappindicator/app-indicator.c b/src/libappindicator/app-indicator.c
index 38f095f..ffab463 100644
--- a/src/libappindicator/app-indicator.c
+++ b/src/libappindicator/app-indicator.c
@@ -884,10 +884,8 @@ status_icon_changes (AppIndicator * self, gpointer data)
break;
};
- if (themed_icon) {
- g_object_ref_sink (themed_icon);
+ if (themed_icon)
g_object_unref (themed_icon);
- }
return;
}