aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Terry <mike@mterry.name>2011-02-25 13:26:35 -0500
committerMichael Terry <mike@mterry.name>2011-02-25 13:26:35 -0500
commit400488354b37ad16467c9e251b8b20c3bf3d2a83 (patch)
tree030d49bc7b0334f20126a8ee882b55c9d5d0e423
parentacbbf01f8ad7b09e618227449a041cc4d0b9e267 (diff)
downloadayatana-ido-400488354b37ad16467c9e251b8b20c3bf3d2a83.tar.gz
ayatana-ido-400488354b37ad16467c9e251b8b20c3bf3d2a83.tar.bz2
ayatana-ido-400488354b37ad16467c9e251b8b20c3bf3d2a83.zip
compile fix
-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>