aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKen VanDine <ken.vandine@canonical.com>2011-02-24 16:19:39 -0500
committerKen VanDine <ken.vandine@canonical.com>2011-02-24 16:19:39 -0500
commitacebf0d29e935b893d544148469523944f97cd52 (patch)
tree8b3f5d02b35662d7f786422b2afd6bc3dce0cf6e
parent3072fd1740dca237612b7cf94ac19aadb1d4a3e6 (diff)
downloadayatana-ido-acebf0d29e935b893d544148469523944f97cd52.tar.gz
ayatana-ido-acebf0d29e935b893d544148469523944f97cd52.tar.bz2
ayatana-ido-acebf0d29e935b893d544148469523944f97cd52.zip
Added ido_calendar_menu_item_get_calendar back to prevent a ABI break
-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 3e326e0..3ca788a 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 accb6cb..82776ef 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);