[gnome-todo] window: Remove dead code



commit eb5e3cfea93ccf613df7cd6de25e3c6808870691
Author: Georges Basile Stavracas Neto <georges stavracas gmail com>
Date:   Tue May 12 10:25:30 2020 -0300

    window: Remove dead code

 src/gtd-application.c    |  7 -------
 src/gtd-window-private.h | 31 -------------------------------
 src/gtd-window.c         |  7 -------
 3 files changed, 45 deletions(-)
---
diff --git a/src/gtd-application.c b/src/gtd-application.c
index 6e3170c..9574efb 100644
--- a/src/gtd-application.c
+++ b/src/gtd-application.c
@@ -275,13 +275,6 @@ gtd_application_startup (GApplication *application)
   /* Load the plugins */
   gtd_manager_load_plugins (gtd_manager_get_default ());
 
-  /*
-   * This will select select the first panel of the sidebar, since
-   * at this point the panels are already loaded and the sidebar has
-   * all the rows set up.
-   */
-  _gtd_window_finish_startup (GTD_WINDOW (self->window));
-
   GTD_EXIT;
 }
 
diff --git a/src/gtd-window.c b/src/gtd-window.c
index 33a9e2a..e3da295 100644
--- a/src/gtd-window.c
+++ b/src/gtd-window.c
@@ -727,10 +727,3 @@ gtd_window_embed_widget_in_header (GtdWindow       *self,
   GTD_EXIT;
 
 }
-
-/* Private functions */
-void
-_gtd_window_finish_startup (GtdWindow *self)
-{
-  g_return_if_fail (GTD_IS_WINDOW (self));
-}


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