aboutsummaryrefslogtreecommitdiff
path: root/src/app-indicator.c
diff options
context:
space:
mode:
authorTed Gould <ted@gould.cx>2011-03-03 13:34:35 -0600
committerTed Gould <ted@gould.cx>2011-03-03 13:34:35 -0600
commit15784dbb2ca18efa7d2790cdd76eba13ea23947f (patch)
tree5482a453eec4c01ca83fbcc97a537b8d9fb4cce6 /src/app-indicator.c
parent70d5440f983b1a7de06adfb29ff24d672dc459a9 (diff)
parent56d9374b5b9de50fcc4c3f904bb0459799244df4 (diff)
downloadlibayatana-appindicator-15784dbb2ca18efa7d2790cdd76eba13ea23947f.tar.gz
libayatana-appindicator-15784dbb2ca18efa7d2790cdd76eba13ea23947f.tar.bz2
libayatana-appindicator-15784dbb2ca18efa7d2790cdd76eba13ea23947f.zip
* New upstream release.
* Set includedir to the location of the headers provided by libappindicator-dev (LP: #721562) * Fix crash when importing appindicator from Python (LP: #724917). * Fix crash when switching themes by disconnecting a signal from the theme on dispose. LP: #708188
Diffstat (limited to 'src/app-indicator.c')
-rw-r--r--src/app-indicator.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/app-indicator.c b/src/app-indicator.c
index 167e17f..01fdd5a 100644
--- a/src/app-indicator.c
+++ b/src/app-indicator.c
@@ -667,6 +667,8 @@ app_indicator_dispose (GObject *object)
priv->connection = NULL;
}
+ g_signal_handlers_disconnect_by_func(gtk_icon_theme_get_default(), G_CALLBACK(theme_changed_cb), self);
+
G_OBJECT_CLASS (app_indicator_parent_class)->dispose (object);
return;
}