aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTed Gould <ted@gould.cx>2011-03-02 16:19:32 -0600
committerTed Gould <ted@gould.cx>2011-03-02 16:19:32 -0600
commita38ef76289761495301c80b2473cbf3089b6a8e6 (patch)
tree59aef7db061d0eb6f7194d76396557b5fc4043ee
parent8264fbe27989e17e82f785cddd2da59efcf0a29d (diff)
parentacebf0d29e935b893d544148469523944f97cd52 (diff)
downloadayatana-ido-a38ef76289761495301c80b2473cbf3089b6a8e6.tar.gz
ayatana-ido-a38ef76289761495301c80b2473cbf3089b6a8e6.tar.bz2
ayatana-ido-a38ef76289761495301c80b2473cbf3089b6a8e6.zip
Adding back lost API
-rw-r--r--src/idocalendarmenuitem.c8
-rw-r--r--src/idocalendarmenuitem.h1
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);