aboutsummaryrefslogtreecommitdiff
path: root/src/libappindicator
diff options
context:
space:
mode:
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;
}