aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/calendar-component.c
diff options
context:
space:
mode:
Diffstat (limited to 'calendar/gui/calendar-component.c')
-rw-r--r--calendar/gui/calendar-component.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/calendar/gui/calendar-component.c b/calendar/gui/calendar-component.c
index 24736067bb..619d15493b 100644
--- a/calendar/gui/calendar-component.c
+++ b/calendar/gui/calendar-component.c
@@ -36,6 +36,8 @@
#include <bonobo/bonobo-control.h>
#include <bonobo/bonobo-i18n.h>
+#include <gtk/gtkimage.h>
+#include <gtk/gtkimagemenuitem.h>
#include <gal/util/e-util.h>
#include <errno.h>
@@ -271,7 +273,7 @@ impl_createControls (PortableServer_Servant servant,
/* Create main calendar view */
/* FIXME Instead of returning, we should make a control with a
* label describing the problem */
- priv->calendar = new_calendar ();
+ priv->calendar = GNOME_CALENDAR (gnome_calendar_new ());
if (!priv->calendar) {
g_warning (G_STRLOC ": could not create the calendar widget!");
return;