source-dialog: keep a ref to the private spot

This commit is contained in:
Georges Basile Stavracas Neto
2015-05-25 12:31:04 -04:00
committed by Erick Pérez Castellanos
parent 2df236fccb
commit 3915e1c6e9
+4
View File
@@ -104,5 +104,9 @@ gcal_source_dialog_class_init (GcalSourceDialogClass *klass)
static void
gcal_source_dialog_init (GcalSourceDialog *self)
{
GcalShellSearchProviderPrivate *priv = gcal_shell_search_provider_get_instance_private (self);
self->priv = priv;
gtk_widget_init_template (GTK_WIDGET (self));
}