[gnome-calendar/calendar-editor] source-dialog: keep a ref to the private spot



commit 636ed8f030fb830d5dbc9f2d4a7b5089c8e62cc2
Author: Georges Basile Stavracas Neto <georges stavracas gmail com>
Date:   Mon Feb 9 11:38:32 2015 -0200

    source-dialog: keep a ref to the private spot

 src/gcal-source-dialog.c |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/src/gcal-source-dialog.c b/src/gcal-source-dialog.c
index da6d10d..e8bbf6f 100644
--- a/src/gcal-source-dialog.c
+++ b/src/gcal-source-dialog.c
@@ -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));
 }


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]