aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/gncal-full-day.c
diff options
context:
space:
mode:
Diffstat (limited to 'calendar/gui/gncal-full-day.c')
-rw-r--r--calendar/gui/gncal-full-day.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/calendar/gui/gncal-full-day.c b/calendar/gui/gncal-full-day.c
index 028e3657b7..b048ba9de7 100644
--- a/calendar/gui/gncal-full-day.c
+++ b/calendar/gui/gncal-full-day.c
@@ -110,7 +110,7 @@ static void range_activated (GncalFullDay *fullday);
static GtkContainerClass *parent_class;
-static fullday_signals[LAST_SIGNAL] = { 0 };
+static int fullday_signals[LAST_SIGNAL] = { 0 };
static void
@@ -390,7 +390,7 @@ child_popup_menu (GncalFullDay *fullday, Child *child, guint32 event_time)
child_items[1].data = child;
child_items[3].data = fullday;
- sensitive = (ical_object_get_user_data (child->ico) == NULL);
+ sensitive = (child->ico->user_data == NULL);
child_items[0].sensitive = sensitive;
child_items[1].sensitive = sensitive;
@@ -1892,7 +1892,6 @@ void
gncal_full_day_update (GncalFullDay *fullday, iCalObject *ico, int flags)
{
GList *children;
- GList *l_events, *events;
Child *child;
g_return_if_fail (fullday != NULL);