aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTed Gould <ted@gould.cx>2010-01-13 11:21:31 -0600
committerTed Gould <ted@gould.cx>2010-01-13 11:21:31 -0600
commit88c99aca2e2a95a3dc540285f7dc53d020f526d0 (patch)
treef17d9d7276f2fd518efea2caf0da4e6a4f7dbc15
parent89aa4a7b791024085162be440d2ec79afedf1b7d (diff)
downloadlibayatana-appindicator-88c99aca2e2a95a3dc540285f7dc53d020f526d0.tar.gz
libayatana-appindicator-88c99aca2e2a95a3dc540285f7dc53d020f526d0.tar.bz2
libayatana-appindicator-88c99aca2e2a95a3dc540285f7dc53d020f526d0.zip
Getting the class the proper way
-rw-r--r--src/libappindicator/app-indicator.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libappindicator/app-indicator.c b/src/libappindicator/app-indicator.c
index 6bff61a..259ba3e 100644
--- a/src/libappindicator/app-indicator.c
+++ b/src/libappindicator/app-indicator.c
@@ -350,7 +350,7 @@ app_indicator_dispose (GObject *object)
}
if (priv->status_icon != NULL) {
- AppIndicatorClass * class = APP_INDICATOR_CLASS(object);
+ AppIndicatorClass * class = APP_INDICATOR_GET_CLASS(object);
if (class->unfallback != NULL) {
class->unfallback(self, priv->status_icon);
}