[gnome-calendar] build: removed unused/faulty code
- From: Erick Pérez Castellanos <erickpc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-calendar] build: removed unused/faulty code
- Date: Thu, 4 Dec 2014 22:36:00 +0000 (UTC)
commit d5f2b21f37bb2a5e45bcafcc39437b77fd12aa10
Author: Erick Pérez Castellanos <erick red gmail com>
Date: Wed Oct 15 21:44:47 2014 -0400
build: removed unused/faulty code
This cleaning is made in order to merge this branch into master as soon
as possible.
The implementation of GcalDayView is planned to go on the same lines as
GcalWeekView but for two days alone, so much of the code of the latter
could be reused. The approach of using shallow container and kinda
layout manager objects inside GcalDayView didn't worked that well for my
expertise at this time.
src/Makefile.am | 10 -
src/gcal-all-day-grid.c | 1054 ------------------------------------
src/gcal-all-day-grid.h | 74 ---
src/gcal-day-view.c | 690 ------------------------
src/gcal-day-view.h | 53 --
src/gcal-days-grid.c | 1178 -----------------------------------------
src/gcal-days-grid.h | 81 ---
src/gcal-floating-container.c | 337 ------------
src/gcal-floating-container.h | 59 --
src/gcal-viewport.c | 277 ----------
src/gcal-viewport.h | 59 --
src/gcal-window.c | 10 -
12 files changed, 0 insertions(+), 3882 deletions(-)
---
diff --git a/src/Makefile.am b/src/Makefile.am
index 20d38a7..b7dbcb3 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -27,14 +27,10 @@ gnome_calendar_SOURCES = \
main.c \
gcal-application.h \
gcal-application.c \
- gcal-floating-container.c \
- gcal-floating-container.h \
gcal-window.h \
gcal-window.c \
gcal-view.c \
gcal-view.h \
- gcal-day-view.c \
- gcal-day-view.h \
gcal-month-view.c \
gcal-month-view.h \
gcal-week-view.c \
@@ -55,12 +51,6 @@ gnome_calendar_SOURCES = \
gcal-manager.h \
gcal-nav-bar.h \
gcal-nav-bar.c \
- gcal-viewport.c \
- gcal-viewport.h \
- gcal-all-day-grid.c \
- gcal-all-day-grid.h \
- gcal-days-grid.c \
- gcal-days-grid.h \
gcal-utils.c \
gcal-utils.h
diff --git a/src/gcal-window.c b/src/gcal-window.c
index fe0a3a0..b6de465 100644
--- a/src/gcal-window.c
+++ b/src/gcal-window.c
@@ -22,9 +22,7 @@
#include "gcal-nav-bar.h"
#include "gcal-manager.h"
-#include "gcal-floating-container.h"
#include "gcal-view.h"
-#include "gcal-day-view.h"
#include "gcal-month-view.h"
#include "gcal-week-view.h"
#include "gcal-year-view.h"
@@ -995,14 +993,6 @@ gcal_window_constructed (GObject *object)
gtk_widget_get_style_context (priv->views_stack),
"views");
- priv->views[GCAL_WINDOW_VIEW_DAY] = gcal_day_view_new ();
- gtk_stack_add_titled (GTK_STACK (priv->views_stack),
- priv->views[GCAL_WINDOW_VIEW_DAY],
- "day", _("Day"));
- g_object_bind_property (GCAL_WINDOW (object), "active-date",
- priv->views[GCAL_WINDOW_VIEW_DAY], "active-date",
- G_BINDING_DEFAULT);
-
priv->views[GCAL_WINDOW_VIEW_WEEK] = gcal_week_view_new ();
gtk_stack_add_titled (GTK_STACK (priv->views_stack),
priv->views[GCAL_WINDOW_VIEW_WEEK],
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]