[gnome-calendar] source-dialog: simplify code



commit 8ff530b66a0ef7417fe43d6591cfd89814717e05
Author: Georges Basile Stavracas Neto <georges stavracas gmail com>
Date:   Mon Feb 23 14:19:54 2015 -0300

    source-dialog: simplify code

 src/gcal-source-dialog.c |    4 +---
 1 files changed, 1 insertions(+), 3 deletions(-)
---
diff --git a/src/gcal-source-dialog.c b/src/gcal-source-dialog.c
index d1f7dc1..19692ca 100644
--- a/src/gcal-source-dialog.c
+++ b/src/gcal-source-dialog.c
@@ -602,9 +602,7 @@ gcal_source_dialog_class_init (GcalSourceDialogClass *klass)
 static void
 gcal_source_dialog_init (GcalSourceDialog *self)
 {
-  GcalSourceDialogPrivate *priv = gcal_source_dialog_get_instance_private (self);
-
-  self->priv = priv;
+  self->priv = gcal_source_dialog_get_instance_private (self);
 
   gtk_widget_init_template (GTK_WIDGET (self));
 }


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