[gnome-calendar] Moved GcalViewChild to GcalView.
- From: Erick PÃrez Castellanos <erickpc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-calendar] Moved GcalViewChild to GcalView.
- Date: Sat, 1 Dec 2012 20:34:20 +0000 (UTC)
commit ee66a85e4db0a49bbbf32fa9a142b167b5618c1b
Author: Erick PÃrez Castellanos <erick red gmail com>
Date: Thu Nov 22 11:07:04 2012 -0500
Moved GcalViewChild to GcalView.
This struct contains the child data the views needs to know
about it's (event-widget) children.
src/gcal-month-view.c | 8 --------
src/gcal-view.h | 7 +++++++
src/gcal-year-view.c | 8 --------
3 files changed, 7 insertions(+), 16 deletions(-)
---
diff --git a/src/gcal-month-view.c b/src/gcal-month-view.c
index 4a2f73c..c856aa5 100644
--- a/src/gcal-month-view.c
+++ b/src/gcal-month-view.c
@@ -27,14 +27,6 @@
#include <libecal/libecal.h>
-struct _GcalViewChild
-{
- GtkWidget *widget;
- gboolean hidden_by_me;
-};
-
-typedef struct _GcalViewChild GcalViewChild;
-
struct _GcalMonthViewPrivate
{
/**
diff --git a/src/gcal-view.h b/src/gcal-view.h
index 7e2e4f2..6faaea3 100644
--- a/src/gcal-view.h
+++ b/src/gcal-view.h
@@ -32,6 +32,13 @@ G_BEGIN_DECLS
#define GCAL_IS_VIEW(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GCAL_TYPE_VIEW))
#define GCAL_VIEW_GET_INTERFACE(inst) (G_TYPE_INSTANCE_GET_INTERFACE ((inst), GCAL_TYPE_VIEW, GcalViewIface))
+struct _GcalViewChild
+{
+ GtkWidget *widget;
+ gboolean hidden_by_me;
+};
+
+typedef struct _GcalViewChild GcalViewChild;
typedef struct _GcalView GcalView;
typedef struct _GcalViewIface GcalViewIface;
diff --git a/src/gcal-year-view.c b/src/gcal-year-view.c
index 36e7849..e24f166 100644
--- a/src/gcal-year-view.c
+++ b/src/gcal-year-view.c
@@ -27,14 +27,6 @@
#include <libecal/libecal.h>
-struct _GcalViewChild
-{
- GtkWidget *widget;
- gboolean hidden_by_me;
-};
-
-typedef struct _GcalViewChild GcalViewChild;
-
struct _GcalYearViewPrivate
{
/**
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]