[gnome-software] trivial: sources dialog: Remove an unused field
- From: Kalev Lember <klember src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-software] trivial: sources dialog: Remove an unused field
- Date: Sat, 27 Jan 2018 15:47:22 +0000 (UTC)
commit 52f36ca80088d41b734875c32391bb4967e78fb1
Author: Kalev Lember <klember redhat com>
Date: Sat Jan 27 16:25:47 2018 +0100
trivial: sources dialog: Remove an unused field
src/gs-sources-dialog.c | 3 ---
1 file changed, 3 deletions(-)
---
diff --git a/src/gs-sources-dialog.c b/src/gs-sources-dialog.c
index 71070ea3..31a19f40 100644
--- a/src/gs-sources-dialog.c
+++ b/src/gs-sources-dialog.c
@@ -343,7 +343,6 @@ get_sources_cb (GsPluginLoader *plugin_loader,
if (gs_app_get_state (app) != AS_APP_STATE_INSTALLED)
continue;
add_source (GTK_LIST_BOX (dialog->listbox), app);
- gs_app_list_add (dialog->source_list, app);
}
}
@@ -682,7 +681,6 @@ gs_sources_dialog_dispose (GObject *object)
g_clear_object (&dialog->cancellable);
}
g_clear_object (&dialog->settings);
- g_clear_object (&dialog->source_list);
g_clear_object (&dialog->nonfree_source_list);
G_OBJECT_CLASS (gs_sources_dialog_parent_class)->dispose (object);
@@ -696,7 +694,6 @@ gs_sources_dialog_init (GsSourcesDialog *dialog)
gtk_widget_init_template (GTK_WIDGET (dialog));
- dialog->source_list = gs_app_list_new ();
dialog->nonfree_source_list = gs_app_list_new ();
dialog->cancellable = g_cancellable_new ();
dialog->settings = g_settings_new ("org.gnome.software");
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]