aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/app-indicator.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/app-indicator.c b/src/app-indicator.c
index 0d27cb2..54a2b6a 100644
--- a/src/app-indicator.c
+++ b/src/app-indicator.c
@@ -877,7 +877,7 @@ app_indicator_set_property (GObject * object, guint prop_id, const GValue * valu
priv->title = NULL;
}
- if (g_strcmp0(oldtitle, priv->title) != 0) {
+ if (g_strcmp0(oldtitle, priv->title) != 0 && self->priv->connection != NULL) {
GError * error = NULL;
g_dbus_connection_emit_signal(self->priv->connection,