aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/indicator-power.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/indicator-power.c b/src/indicator-power.c
index 9948503..1eb0797 100644
--- a/src/indicator-power.c
+++ b/src/indicator-power.c
@@ -423,7 +423,7 @@ get_accessible_desc (IndicatorObject *io)
IndicatorPowerPrivate *priv = self->priv;
const gchar *name;
- if (priv->label == NULL)
+ if (priv->label != NULL)
{
name = gtk_label_get_text (priv->label);