gcal-view: modified mark_current_unit API

Added x,y return values, positions of the current unit
This commit is contained in:
Erick Pérez Castellanos
2014-12-04 17:10:29 -05:00
parent 8cbac83723
commit a24eca0386
3 changed files with 42 additions and 10 deletions
+4 -2
View File
@@ -62,7 +62,7 @@ struct _GcalViewIface
icaltimetype* (*get_final_date) (GcalView *view);
/* Marks related API */
void (*mark_current_unit) (GcalView *view);
void (*mark_current_unit) (GcalView *view, gint *x, gint *y);
void (*clear_marks) (GcalView *view);
/* Update NavBar headings */
@@ -94,7 +94,9 @@ icaltimetype* gcal_view_get_initial_date (GcalView *view);
icaltimetype* gcal_view_get_final_date (GcalView *view);
void gcal_view_mark_current_unit (GcalView *view);
void gcal_view_mark_current_unit (GcalView *view,
gint *x,
gint *y);
void gcal_view_clear_marks (GcalView *view);