aboutsummaryrefslogtreecommitdiff
path: root/src/libappindicator
diff options
context:
space:
mode:
authorTed Gould <ted@gould.cx>2010-01-13 14:02:23 -0600
committerTed Gould <ted@gould.cx>2010-01-13 14:02:23 -0600
commit303db3c924690a134dcc6c0159f3a9dfc5a761fa (patch)
tree5b9f8097413aaa133dd0319f2d049c17653e4e52 /src/libappindicator
parent60236935d5da0be2de0833cded25ad9361305a43 (diff)
downloadlibayatana-appindicator-303db3c924690a134dcc6c0159f3a9dfc5a761fa.tar.gz
libayatana-appindicator-303db3c924690a134dcc6c0159f3a9dfc5a761fa.tar.bz2
libayatana-appindicator-303db3c924690a134dcc6c0159f3a9dfc5a761fa.zip
Explicitly checking for the APP_INDICATOR. Confused.
Diffstat (limited to 'src/libappindicator')
-rw-r--r--src/libappindicator/app-indicator.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/libappindicator/app-indicator.c b/src/libappindicator/app-indicator.c
index baa2159..a098170 100644
--- a/src/libappindicator/app-indicator.c
+++ b/src/libappindicator/app-indicator.c
@@ -682,6 +682,8 @@ dbus_owner_change (DBusGProxy * proxy, const gchar * name, const gchar * prev, c
static void
start_fallback_timer (AppIndicator * self, gboolean do_it_now)
{
+ g_return_if_fail(IS_APP_INDICATOR(self));
+
AppIndicatorPrivate * priv = APP_INDICATOR_GET_PRIVATE(self);
if (priv->fallback_timer != 0) {