libnm: add versioning comments and macros to nm_device_reapply*()
authorBeniamino Galvani <bgalvani@redhat.com>
Mon, 11 Jan 2016 08:36:47 +0000 (09:36 +0100)
committerBeniamino Galvani <bgalvani@redhat.com>
Tue, 12 Jan 2016 08:51:44 +0000 (09:51 +0100)
Fixes: 278fd4fb0fde3f290e366dab91fb6a49f9ff186c

libnm/nm-device.c
libnm/nm-device.h

index 1e14658..7d57b52 100644 (file)
@@ -2176,6 +2176,8 @@ nm_device_is_software (NMDevice *device)
  * made since it was last applied.
  *
  * Returns: %TRUE on success, %FALSE on error, in which case @error will be set.
+ *
+ * Since: 1.2
  **/
 gboolean
 nm_device_reapply (NMDevice *device,
@@ -2232,6 +2234,8 @@ device_reapply_cb (GObject *proxy,
  *
  * Asynchronously begins an attempt to update device with changes to the
  * currently active connection made since it was last applied.
+ *
+ * Since: 1.2
  **/
 void
 nm_device_reapply_async (NMDevice *device,
@@ -2269,6 +2273,8 @@ nm_device_reapply_async (NMDevice *device,
  *
  * Returns: %TRUE on success, %FALSE on error, in which case @error
  * will be set.
+ *
+ * Since: 1.2
  **/
 gboolean
 nm_device_reapply_finish (NMDevice *device,
index c9d619f..bf845ce 100644 (file)
@@ -137,18 +137,20 @@ NM_AVAILABLE_IN_1_2
 GPtrArray *          nm_device_get_lldp_neighbors    (NMDevice *device);
 char **              nm_device_disambiguate_names    (NMDevice **devices,
                                                       int        num_devices);
-
+NM_AVAILABLE_IN_1_2
 gboolean             nm_device_reapply              (NMDevice *device,
                                                      NMConnection *connection,
                                                      guint flags,
                                                      GCancellable *cancellable,
                                                      GError **error);
+NM_AVAILABLE_IN_1_2
 void                 nm_device_reapply_async        (NMDevice *device,
                                                      NMConnection *connection,
                                                      guint flags,
                                                      GCancellable *cancellable,
                                                      GAsyncReadyCallback callback,
                                                      gpointer user_data);
+NM_AVAILABLE_IN_1_2
 gboolean             nm_device_reapply_finish       (NMDevice *device,
                                                      GAsyncResult *result,
                                                      GError **error);