source-dialog: lazy set the GcalManager instance

No signals are connected.
This commit is contained in:
Georges Basile Stavracas Neto
2015-05-25 12:31:04 -04:00
committed by Erick Pérez Castellanos
parent 3915e1c6e9
commit 059b783b0d
2 changed files with 23 additions and 1 deletions
+19
View File
@@ -110,3 +110,22 @@ gcal_source_dialog_init (GcalSourceDialog *self)
gtk_widget_init_template (GTK_WIDGET (self));
}
/**
* gcal_source_dialog_set_manager:
*
* Setup the {@link GcalManager} singleton
* instance of the application.
*
* Returns:
*/
void
gcal_source_dialog_set_manager (GcalSourceDialog *dialog,
GcalManager *manager)
{
GcalSourceDialogPrivate *priv = dialog->priv;
priv->manager = manager;
/* TODO: connect ::source-added & ::source-removed signals */
}