aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorkarl-qdh <karl@qdh.org.uk>2011-02-25 09:47:28 +0000
committerkarl-qdh <karl@qdh.org.uk>2011-02-25 09:47:28 +0000
commita7e9eed72ef50398e530784db7e6d91cabbb56aa (patch)
tree6078d9cb5d1d8da889136ed0940f05724035b012
parentb6f75c173098cd4a7ea605496a2692d436a16a96 (diff)
downloadayatana-ido-a7e9eed72ef50398e530784db7e6d91cabbb56aa.tar.gz
ayatana-ido-a7e9eed72ef50398e530784db7e6d91cabbb56aa.tar.bz2
ayatana-ido-a7e9eed72ef50398e530784db7e6d91cabbb56aa.zip
Added missing getter for calendar display options
-rw-r--r--src/idocalendarmenuitem.c6
-rw-r--r--src/idocalendarmenuitem.h1
2 files changed, 7 insertions, 0 deletions
diff --git a/src/idocalendarmenuitem.c b/src/idocalendarmenuitem.c
index 3e326e0..4195da1 100644
--- a/src/idocalendarmenuitem.c
+++ b/src/idocalendarmenuitem.c
@@ -301,6 +301,12 @@ ido_calendar_menu_item_set_display_options (IdoCalendarMenuItem *menuitem, GtkCa
gtk_calendar_set_display_options (GTK_CALENDAR (menuitem->priv->calendar), flags);
}
+GtkCalendarDisplayOptions
+ido_calendar_menu_item_get_display_options (IdoCalendarMenuItem *menuitem)
+{
+ gtk_calendar_get_display_options (GTK_CALENDAR (menuitem->priv->calendar));
+}
+
void
ido_calendar_menu_item_get_date (IdoCalendarMenuItem *menuitem,
guint *year,
diff --git a/src/idocalendarmenuitem.h b/src/idocalendarmenuitem.h
index 6e9ff9a..22e1008 100644
--- a/src/idocalendarmenuitem.h
+++ b/src/idocalendarmenuitem.h
@@ -60,6 +60,7 @@ gboolean ido_calendar_menu_item_mark_day (IdoCalendarMenuItem *menui
gboolean ido_calendar_menu_item_unmark_day (IdoCalendarMenuItem *menuitem, guint day);
void ido_calendar_menu_item_clear_marks (IdoCalendarMenuItem *menuitem);
void ido_calendar_menu_item_set_display_options (IdoCalendarMenuItem *menuitem, GtkCalendarDisplayOptions flags);
+GtkCalendarDisplayOptions ido_calendar_menu_item_get_display_options (IdoCalendarMenuItem *menuitem);
void ido_calendar_menu_item_get_date (IdoCalendarMenuItem *menuitem,
guint *year,
guint *month,