source-dialog: g_object_ref() returns the object
This commit is contained in:
@@ -2279,8 +2279,5 @@ gcal_source_dialog_set_source (GcalSourceDialog *dialog,
|
|||||||
GcalSourceDialogPrivate *priv = dialog->priv;
|
GcalSourceDialogPrivate *priv = dialog->priv;
|
||||||
|
|
||||||
g_assert (source && E_IS_SOURCE (source));
|
g_assert (source && E_IS_SOURCE (source));
|
||||||
|
priv->source = g_object_ref (source);
|
||||||
g_object_ref (source);
|
|
||||||
|
|
||||||
priv->source = source;
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user