aboutsummaryrefslogtreecommitdiffstats
path: root/widgets
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2010-06-25 01:15:21 +0800
committerMatthew Barnes <mbarnes@redhat.com>2010-06-25 01:19:14 +0800
commit9d538474a855d64e338bf7a94925cbde31a81bd5 (patch)
tree837f57d64a989bfbf915590237d00d3e3b5deb00 /widgets
parentb62f965b04b036f3b9d647a339852bfdd3c79e12 (diff)
downloadgsoc2013-evolution-9d538474a855d64e338bf7a94925cbde31a81bd5.tar
gsoc2013-evolution-9d538474a855d64e338bf7a94925cbde31a81bd5.tar.gz
gsoc2013-evolution-9d538474a855d64e338bf7a94925cbde31a81bd5.tar.bz2
gsoc2013-evolution-9d538474a855d64e338bf7a94925cbde31a81bd5.tar.lz
gsoc2013-evolution-9d538474a855d64e338bf7a94925cbde31a81bd5.tar.xz
gsoc2013-evolution-9d538474a855d64e338bf7a94925cbde31a81bd5.tar.zst
gsoc2013-evolution-9d538474a855d64e338bf7a94925cbde31a81bd5.zip
Bug 622633 - Can't launch Evolution from clock applet
Diffstat (limited to 'widgets')
-rw-r--r--widgets/misc/e-calendar-item.c12
-rw-r--r--widgets/misc/e-calendar-item.h4
2 files changed, 8 insertions, 8 deletions
diff --git a/widgets/misc/e-calendar-item.c b/widgets/misc/e-calendar-item.c
index e67c2b7eeb..98ed03a735 100644
--- a/widgets/misc/e-calendar-item.c
+++ b/widgets/misc/e-calendar-item.c
@@ -190,8 +190,8 @@ static void e_calendar_item_date_range_changed (ECalendarItem *calitem);
static void e_calendar_item_queue_signal_emission (ECalendarItem *calitem);
static gboolean e_calendar_item_signal_emission_idle_cb (gpointer data);
static void e_calendar_item_set_selection_if_emission (ECalendarItem *calitem,
- GDate *start_date,
- GDate *end_date,
+ const GDate *start_date,
+ const GDate *end_date,
gboolean emission);
/* Our arguments. */
@@ -3096,8 +3096,8 @@ e_calendar_item_get_selection (ECalendarItem *calitem,
static void
e_calendar_item_set_selection_if_emission (ECalendarItem *calitem,
- GDate *start_date,
- GDate *end_date,
+ const GDate *start_date,
+ const GDate *end_date,
gboolean emission)
{
gint start_year, start_month, start_day;
@@ -3199,8 +3199,8 @@ e_calendar_item_style_set (GtkWidget *widget, ECalendarItem *calitem)
void
e_calendar_item_set_selection (ECalendarItem *calitem,
- GDate *start_date,
- GDate *end_date)
+ const GDate *start_date,
+ const GDate *end_date)
{
/* If the user is in the middle of a selection, we must abort it. */
if (calitem->selecting) {
diff --git a/widgets/misc/e-calendar-item.h b/widgets/misc/e-calendar-item.h
index 4aab58ea2e..34fa3e2be4 100644
--- a/widgets/misc/e-calendar-item.h
+++ b/widgets/misc/e-calendar-item.h
@@ -331,8 +331,8 @@ gboolean
the start of the selection is shown. If start_date is NULL it clears the
selection. */
void e_calendar_item_set_selection (ECalendarItem *calitem,
- GDate *start_date,
- GDate *end_date);
+ const GDate *start_date,
+ const GDate *end_date);
/* Marks a particular day. Passing E_CALENDAR_ITEM_MARK_BOLD as the day style
will result in the day being shown as bold by default. The style callback