[gnome-control-center] info-overview: Drop unused cancellable
- From: Georges Basile Stavracas Neto <gbsneto src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-control-center] info-overview: Drop unused cancellable
- Date: Wed, 25 Sep 2019 13:57:31 +0000 (UTC)
commit 01ffa51dc62347089580591f4e975de0d441e1f3
Author: Robert Ancell <robert ancell canonical com>
Date: Wed Sep 25 23:07:13 2019 +1200
info-overview: Drop unused cancellable
It wasn't used and there were no async calls to connect it to.
panels/info-overview/cc-info-overview-panel.c | 8 --------
1 file changed, 8 deletions(-)
---
diff --git a/panels/info-overview/cc-info-overview-panel.c b/panels/info-overview/cc-info-overview-panel.c
index 2ebee9c34..bdebdc77c 100644
--- a/panels/info-overview/cc-info-overview-panel.c
+++ b/panels/info-overview/cc-info-overview-panel.c
@@ -65,8 +65,6 @@ typedef struct
GtkWidget *virt_type_title_label;
GtkWidget *updates_button;
- GCancellable *cancellable;
-
UDisksClient *client;
} CcInfoOverviewPanelPrivate;
@@ -669,12 +667,6 @@ cc_info_overview_panel_finalize (GObject *object)
{
CcInfoOverviewPanelPrivate *priv = cc_info_overview_panel_get_instance_private (CC_INFO_OVERVIEW_PANEL
(object));
- if (priv->cancellable)
- {
- g_cancellable_cancel (priv->cancellable);
- g_clear_object (&priv->cancellable);
- }
-
g_clear_object (&priv->client);
G_OBJECT_CLASS (cc_info_overview_panel_parent_class)->finalize (object);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]