summaryrefslogtreecommitdiff
path: root/src/trg-main-window.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/trg-main-window.c')
-rw-r--r--src/trg-main-window.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/trg-main-window.c b/src/trg-main-window.c
index 90da96c..65556ae 100644
--- a/src/trg-main-window.c
+++ b/src/trg-main-window.c
@@ -2539,9 +2539,9 @@ void trg_main_window_add_status_icon(TrgMainWindow * win)
{
TrgMainWindowPrivate *priv = win->priv;
#ifdef HAVE_LIBAPPINDICATOR
- if (priv->appIndicator =
+ if ((priv->appIndicator =
app_indicator_new(PACKAGE_NAME, PACKAGE_NAME,
- APP_INDICATOR_CATEGORY_APPLICATION_STATUS))
+ APP_INDICATOR_CATEGORY_APPLICATION_STATUS)))
{
app_indicator_set_status(priv->appIndicator,
APP_INDICATOR_STATUS_ACTIVE);