aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/idocalendarmenuitem.c3
-rw-r--r--src/libido.h1
2 files changed, 2 insertions, 2 deletions
diff --git a/src/idocalendarmenuitem.c b/src/idocalendarmenuitem.c
index ba46ae2..e004841 100644
--- a/src/idocalendarmenuitem.c
+++ b/src/idocalendarmenuitem.c
@@ -312,8 +312,7 @@ ido_calendar_menu_item_set_display_options (IdoCalendarMenuItem *menuitem, GtkCa
GtkCalendarDisplayOptions
ido_calendar_menu_item_get_display_options (IdoCalendarMenuItem *menuitem)
{
-
- g_return_val_if_fail(IDO_IS_CALENDAR_MENU_ITEM(menuitem), NULL);
+ g_return_val_if_fail(IDO_IS_CALENDAR_MENU_ITEM(menuitem), 0);
return gtk_calendar_get_display_options (GTK_CALENDAR (menuitem->priv->calendar));
}
diff --git a/src/libido.h b/src/libido.h
index ef0b8b3..4c4f68b 100644
--- a/src/libido.h
+++ b/src/libido.h
@@ -26,6 +26,7 @@
#ifndef __IDO__
#define __IDO__
+#include <libido/idocalendarmenuitem.h>
#include <libido/idoscalemenuitem.h>
#include <libido/idoentrymenuitem.h>
#include <libido/idomessagedialog.h>