[gnome-software/1602-drop-src-gs-folders-c] Misc: Drop src/gs-folders.c



commit 30431241db8a8134db4e410a12113c9aabceacbb
Author: Milan Crha <mcrha redhat com>
Date:   Mon Jan 17 17:33:08 2022 +0100

    Misc: Drop src/gs-folders.c
    
    That's a leftover artifact from the times when the Shell's folders
    had been edited in the Software. As it's no longer the case, it should
    be moved to the place where the relevant GSettings keys are managed.
    
    Closes https://gitlab.gnome.org/GNOME/gnome-software/-/issues/1602

 src/gs-app-row.c     |  1 -
 src/gs-application.c |  2 --
 src/gs-folders.c     | 95 ----------------------------------------------------
 src/gs-folders.h     | 19 -----------
 src/meson.build      |  1 -
 5 files changed, 118 deletions(-)
---
diff --git a/src/gs-app-row.c b/src/gs-app-row.c
index 7ff1b1c15..41a2d10e8 100644
--- a/src/gs-app-row.c
+++ b/src/gs-app-row.c
@@ -16,7 +16,6 @@
 #include "gs-star-widget.h"
 #include "gs-progress-button.h"
 #include "gs-common.h"
-#include "gs-folders.h"
 
 typedef struct
 {
diff --git a/src/gs-application.c b/src/gs-application.c
index 188eeb385..b42933f3d 100644
--- a/src/gs-application.c
+++ b/src/gs-application.c
@@ -28,7 +28,6 @@
 #include "gs-shell.h"
 #include "gs-update-monitor.h"
 #include "gs-shell-search-provider.h"
-#include "gs-folders.h"
 
 #define ENABLE_REPOS_DIALOG_CONF_KEY "enable-repos-dialog"
 
@@ -1021,7 +1020,6 @@ gs_application_startup (GApplication *application)
 
        GS_APPLICATION (application)->update_monitor =
                gs_update_monitor_new (GS_APPLICATION (application));
-       gs_folders_convert ();
 
        gs_application_update_software_sources_presence (application);
 }
diff --git a/src/meson.build b/src/meson.build
index 9a93ef8f1..546524cfa 100644
--- a/src/meson.build
+++ b/src/meson.build
@@ -45,7 +45,6 @@ gnome_software_sources = [
   'gs-feature-tile.c',
   'gs-featured-carousel.c',
   'gs-first-run-dialog.c',
-  'gs-folders.c',
   'gs-hardware-support-context-dialog.c',
   'gs-info-bar.c',
   'gs-info-window.c',


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]