diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/idocalendarmenuitem.c | 8 | ||||
-rw-r--r-- | src/idocalendarmenuitem.h | 1 |
2 files changed, 9 insertions, 0 deletions
diff --git a/src/idocalendarmenuitem.c b/src/idocalendarmenuitem.c index e004841..ec52f13 100644 --- a/src/idocalendarmenuitem.c +++ b/src/idocalendarmenuitem.c @@ -277,6 +277,14 @@ ido_calendar_menu_item_new (void) return g_object_new (IDO_TYPE_CALENDAR_MENU_ITEM, NULL); } +GtkWidget * +ido_calendar_menu_item_get_calendar (IdoCalendarMenuItem *item) +{ + g_return_val_if_fail (IDO_IS_CALENDAR_MENU_ITEM (item), NULL); + + return item->priv->calendar; +} + gboolean ido_calendar_menu_item_mark_day (IdoCalendarMenuItem *menuitem, guint day) { diff --git a/src/idocalendarmenuitem.h b/src/idocalendarmenuitem.h index cecab16..7fe899a 100644 --- a/src/idocalendarmenuitem.h +++ b/src/idocalendarmenuitem.h @@ -56,6 +56,7 @@ struct _IdoCalendarMenuItemClass GType ido_calendar_menu_item_get_type (void) G_GNUC_CONST; GtkWidget *ido_calendar_menu_item_new (void); +GtkWidget *ido_calendar_menu_item_get_calendar (IdoCalendarMenuItem *menuitem); gboolean ido_calendar_menu_item_mark_day (IdoCalendarMenuItem *menuitem, guint day); gboolean ido_calendar_menu_item_unmark_day (IdoCalendarMenuItem *menuitem, guint day); void ido_calendar_menu_item_clear_marks (IdoCalendarMenuItem *menuitem); |