gcal-view: modified mark_current_unit API
Added x,y return values, positions of the current unit
This commit is contained in:
+4
-2
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user