summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--mate-panel/panel-menu-button.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/mate-panel/panel-menu-button.c b/mate-panel/panel-menu-button.c
index 4fefee80..f1b04f75 100644
--- a/mate-panel/panel-menu-button.c
+++ b/mate-panel/panel-menu-button.c
@@ -625,6 +625,9 @@ panel_menu_button_disconnect_from_gsettings (PanelMenuButton *button)
{
if (button->priv->settings)
{
+ g_signal_handlers_disconnect_by_func (button->priv->settings,
+ G_CALLBACK (panel_menu_button_gsettings_notify),
+ button);
g_object_unref (button->priv->settings);
button->priv->settings = NULL;
}