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