source-dialog: g_object_ref() returns the object

This commit is contained in:
Erick Pérez Castellanos
2015-05-25 12:36:54 -04:00
parent 53e3c04bb2
commit fdba286915
+1 -4
View File
@@ -2279,8 +2279,5 @@ gcal_source_dialog_set_source (GcalSourceDialog *dialog,
GcalSourceDialogPrivate *priv = dialog->priv;
g_assert (source && E_IS_SOURCE (source));
g_object_ref (source);
priv->source = source;
priv->source = g_object_ref (source);
}