diff options
Diffstat (limited to 'calendar/gui/e-week-view-main-item.c')
-rw-r--r-- | calendar/gui/e-week-view-main-item.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/calendar/gui/e-week-view-main-item.c b/calendar/gui/e-week-view-main-item.c index 06669b5ecb..ca6812b463 100644 --- a/calendar/gui/e-week-view-main-item.c +++ b/calendar/gui/e-week-view-main-item.c @@ -30,6 +30,7 @@ #include <config.h> #endif +#include <string.h> #include <glib.h> #include <libgnome/gnome-i18n.h> #include "e-week-view-main-item.h" @@ -69,7 +70,7 @@ enum { ARG_WEEK_VIEW }; -G_DEFINE_TYPE (EWeekViewMainItem, e_week_view_main_item, GNOME_TYPE_CANVAS_ITEM); +G_DEFINE_TYPE (EWeekViewMainItem, e_week_view_main_item, GNOME_TYPE_CANVAS_ITEM) static void e_week_view_main_item_class_init (EWeekViewMainItemClass *class) @@ -106,10 +107,8 @@ e_week_view_main_item_init (EWeekViewMainItem *wvmitem) static void e_week_view_main_item_set_arg (GtkObject *o, GtkArg *arg, guint arg_id) { - GnomeCanvasItem *item; EWeekViewMainItem *wvmitem; - item = GNOME_CANVAS_ITEM (o); wvmitem = E_WEEK_VIEW_MAIN_ITEM (o); switch (arg_id){ |