aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/goto.c
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@src.gnome.org>2008-10-28 04:28:57 +0800
committerMatthew Barnes <mbarnes@src.gnome.org>2008-10-28 04:28:57 +0800
commit14f54991f36d5d3556af1dde53ddb7a8aceafa3a (patch)
tree32e055e0ff41dc1220fc9e8fabd24547281e316b /calendar/gui/goto.c
parent85b2913a380c69f14ae0254ad23b10fabfb33667 (diff)
downloadgsoc2013-evolution-14f54991f36d5d3556af1dde53ddb7a8aceafa3a.tar
gsoc2013-evolution-14f54991f36d5d3556af1dde53ddb7a8aceafa3a.tar.gz
gsoc2013-evolution-14f54991f36d5d3556af1dde53ddb7a8aceafa3a.tar.bz2
gsoc2013-evolution-14f54991f36d5d3556af1dde53ddb7a8aceafa3a.tar.lz
gsoc2013-evolution-14f54991f36d5d3556af1dde53ddb7a8aceafa3a.tar.xz
gsoc2013-evolution-14f54991f36d5d3556af1dde53ddb7a8aceafa3a.tar.zst
gsoc2013-evolution-14f54991f36d5d3556af1dde53ddb7a8aceafa3a.zip
Disable parts of my previous calendar work, such that all modules now load!
svn path=/branches/kill-bonobo/; revision=36690
Diffstat (limited to 'calendar/gui/goto.c')
-rw-r--r--calendar/gui/goto.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/calendar/gui/goto.c b/calendar/gui/goto.c
index f345bbb7df..14f9901a38 100644
--- a/calendar/gui/goto.c
+++ b/calendar/gui/goto.c
@@ -79,12 +79,14 @@ month_changed (GtkToggleButton *toggle, gpointer data)
static void
ecal_date_range_changed (ECalendarItem *calitem, gpointer user_data)
{
+#if 0 /* KILL-BONOBO */
GoToDialog *dlg = user_data;
ECal *client;
client = gnome_calendar_get_default_client (dlg->gcal);
if (client)
tag_calendar_by_client (dlg->ecal, client);
+#endif
}
/* Event handler for day groups in the month item. A button press makes the calendar jump to the
@@ -93,6 +95,7 @@ ecal_date_range_changed (ECalendarItem *calitem, gpointer user_data)
static void
ecal_event (ECalendarItem *calitem, gpointer user_data)
{
+#if 0 /* KILL-BONOBO */
GoToDialog *dlg = user_data;
GDate start_date, end_date;
struct icaltimetype tt = icaltime_null_time ();
@@ -110,6 +113,7 @@ ecal_event (ECalendarItem *calitem, gpointer user_data)
gtk_dialog_response (GTK_DIALOG (dlg->dialog), GTK_RESPONSE_NONE);
/* gnome_dialog_close (GNOME_DIALOG (dlg->dialog)); */
+#endif
}
/* Returns the current time, for the ECalendarItem. */
@@ -164,7 +168,9 @@ create_ecal (GoToDialog *dlg)
static void
goto_today (GoToDialog *dlg)
{
+#if 0 /* KILL-BONOBO */
gnome_calendar_goto_today (dlg->gcal);
+#endif
}
/* Gets the widgets from the XML file and returns if they are all available. */
@@ -209,6 +215,7 @@ goto_dialog_init_widgets (GoToDialog *dlg)
void
goto_dialog (GnomeCalendar *gcal)
{
+#if 0 /* KILL-BONOBO */
time_t start_time;
struct icaltimetype tt;
int b;
@@ -277,4 +284,5 @@ goto_dialog (GnomeCalendar *gcal)
g_object_unref (dlg->xml);
g_free (dlg);
dlg = NULL;
+#endif
}