ip[46]-config/trivial: move code around

Move the GObject related functions to the end of the source file.
Similar to how it's done for most other implementations.
This commit is contained in:
Thomas Haller
2017-01-15 12:15:58 +01:00
parent 175ef8f611
commit 0bb1e9a116
9 changed files with 141 additions and 127 deletions

View File

@@ -676,12 +676,12 @@ set_property (GObject *object, guint prop_id,
switch (prop_id) {
case PROP_FD_NET:
/* construct only */
/* construct-only */
priv->fd_net = g_value_get_int (value);
g_return_if_fail (priv->fd_net > 0);
break;
case PROP_FD_MNT:
/* construct only */
/* construct-only */
priv->fd_mnt = g_value_get_int (value);
g_return_if_fail (priv->fd_mnt > 0);
break;