aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTed Gould <ted@gould.cx>2009-12-20 17:13:23 -0600
committerTed Gould <ted@gould.cx>2009-12-20 17:13:23 -0600
commitb3542e0f35267b102155566710c4da5a025db975 (patch)
treee6696130c130f72e07e7f0f0d0e619a28a35e204
parentc44c00bdd91e0e5bf3010b0a7ac511b60c443370 (diff)
downloadayatana-indicator-application-b3542e0f35267b102155566710c4da5a025db975.tar.gz
ayatana-indicator-application-b3542e0f35267b102155566710c4da5a025db975.tar.bz2
ayatana-indicator-application-b3542e0f35267b102155566710c4da5a025db975.zip
Forgot to get these from the private struct.
-rw-r--r--src/libappindicator/app-indicator.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libappindicator/app-indicator.c b/src/libappindicator/app-indicator.c
index 1756687..d22161c 100644
--- a/src/libappindicator/app-indicator.c
+++ b/src/libappindicator/app-indicator.c
@@ -441,8 +441,8 @@ app_indicator_set_property (GObject * object, guint prop_id, const GValue * valu
break;
case PROP_ICON_PATH:
- if (icon_path != NULL) {
- g_free(icon_path);
+ if (priv->icon_path != NULL) {
+ g_free(priv->icon_path);
}
priv->icon_path = g_value_dup_string(value);
break;