diff options
-rw-r--r-- | mate-panel/libmate-panel-applet-private/panel-applet-frame-dbus.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/mate-panel/libmate-panel-applet-private/panel-applet-frame-dbus.c b/mate-panel/libmate-panel-applet-private/panel-applet-frame-dbus.c index c47753b4..1308d2fd 100644 --- a/mate-panel/libmate-panel-applet-private/panel-applet-frame-dbus.c +++ b/mate-panel/libmate-panel-applet-private/panel-applet-frame-dbus.c @@ -329,7 +329,8 @@ mate_panel_applet_frame_dbus_finalize (GObject *object) MatePanelAppletFrameDBus *frame = MATE_PANEL_APPLET_FRAME_DBUS (object); if (frame->priv->bg_cancellable) - g_cancellable_cancel (frame->priv->bg_cancellable); + g_object_unref (frame->priv->bg_cancellable); + frame->priv->bg_cancellable = NULL; G_OBJECT_CLASS (mate_panel_applet_frame_dbus_parent_class)->finalize (object); } |