diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/app-indicator.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/app-indicator.c b/src/app-indicator.c index d05689d..a73e9a4 100644 --- a/src/app-indicator.c +++ b/src/app-indicator.c @@ -998,6 +998,11 @@ app_indicator_set_property (GObject * object, guint prop_id, const GValue * valu gchar * oldguide = priv->label_guide; priv->label_guide = g_value_dup_string(value); + if (priv->label_guide != NULL && priv->label_guide[0] == '\0') { + g_free(priv->label_guide); + priv->label_guide = NULL; + } + if (g_strcmp0(oldguide, priv->label_guide) != 0) { signal_label_change(APP_INDICATOR(object)); } |