window: simplify constructor

We don't need to pass information that can easily be
retrieved by the GSettings instance from GcalManager.
This commit is contained in:
Georges Basile Stavracas Neto
2017-09-07 13:21:09 -03:00
parent a0b6bdb04a
commit 36a39e6c5c
3 changed files with 12 additions and 26 deletions
+1 -2
View File
@@ -32,8 +32,7 @@ G_BEGIN_DECLS
G_DECLARE_FINAL_TYPE (GcalWindow, gcal_window, GCAL, WINDOW, GtkApplicationWindow)
GtkWidget* gcal_window_new_with_view_and_date (GcalApplication *app,
GcalWindowViewType view_type,
GtkWidget* gcal_window_new_with_date (GcalApplication *app,
icaltimetype *date);
void gcal_window_new_event (GcalWindow *self);