mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-01-17 14:00:22 +01:00
supplicant: remove unused NM_SUPPLICANT_INTERFACE_GROUP_FORMATION_FAILURE signal
This commit is contained in:
parent
49931d1637
commit
1cc65fff1d
2 changed files with 0 additions and 22 deletions
|
|
@ -84,7 +84,6 @@ enum {
|
|||
WPS_CREDENTIALS, /* WPS credentials received */
|
||||
GROUP_STARTED, /* a new Group (interface) was created */
|
||||
GROUP_FINISHED, /* a Group (interface) has been finished */
|
||||
GROUP_FORMATION_FAILURE, /* P2P Group formation failed */
|
||||
LAST_SIGNAL
|
||||
};
|
||||
static guint signals[LAST_SIGNAL] = { 0 };
|
||||
|
|
@ -1646,16 +1645,6 @@ p2p_group_started (GDBusProxy *proxy,
|
|||
g_object_unref (iface);
|
||||
}
|
||||
|
||||
static void
|
||||
p2p_group_formation_failure (GDBusProxy *proxy,
|
||||
const char *group,
|
||||
gpointer user_data)
|
||||
{
|
||||
NMSupplicantInterface *self = NM_SUPPLICANT_INTERFACE (user_data);
|
||||
|
||||
g_signal_emit (self, signals[GROUP_FORMATION_FAILURE], 0, group);
|
||||
}
|
||||
|
||||
static void
|
||||
p2p_group_finished (GDBusProxy *proxy,
|
||||
GVariant *params,
|
||||
|
|
@ -1812,8 +1801,6 @@ on_p2p_proxy_acquired (GDBusProxy *proxy, GAsyncResult *result, gpointer user_da
|
|||
G_CALLBACK (p2p_device_lost), self);
|
||||
_nm_dbus_signal_connect (priv->p2p_proxy, "GroupStarted", G_VARIANT_TYPE ("(a{sv})"),
|
||||
G_CALLBACK (p2p_group_started), self);
|
||||
_nm_dbus_signal_connect (priv->p2p_proxy, "GroupFormationFailure", G_VARIANT_TYPE ("(s)"),
|
||||
G_CALLBACK (p2p_group_formation_failure), self);
|
||||
_nm_dbus_signal_connect (priv->p2p_proxy, "GroupFinished", G_VARIANT_TYPE ("(a{sv})"),
|
||||
G_CALLBACK (p2p_group_finished), self);
|
||||
/* TODO:
|
||||
|
|
@ -3177,12 +3164,4 @@ nm_supplicant_interface_class_init (NMSupplicantInterfaceClass *klass)
|
|||
0,
|
||||
NULL, NULL, NULL,
|
||||
G_TYPE_NONE, 1, G_TYPE_STRING);
|
||||
|
||||
signals[GROUP_FORMATION_FAILURE] =
|
||||
g_signal_new (NM_SUPPLICANT_INTERFACE_GROUP_FORMATION_FAILURE,
|
||||
G_OBJECT_CLASS_TYPE (object_class),
|
||||
G_SIGNAL_RUN_LAST,
|
||||
0,
|
||||
NULL, NULL, NULL,
|
||||
G_TYPE_NONE, 1, G_TYPE_STRING);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -79,7 +79,6 @@ typedef enum {
|
|||
#define NM_SUPPLICANT_INTERFACE_WPS_CREDENTIALS "wps-credentials"
|
||||
#define NM_SUPPLICANT_INTERFACE_GROUP_STARTED "group-started"
|
||||
#define NM_SUPPLICANT_INTERFACE_GROUP_FINISHED "group-finished"
|
||||
#define NM_SUPPLICANT_INTERFACE_GROUP_FORMATION_FAILURE "group-formation-failure"
|
||||
|
||||
typedef struct _NMSupplicantInterfaceClass NMSupplicantInterfaceClass;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue