Commit b771800a authored by Santtu Lakkala's avatar Santtu Lakkala

Ignore known deprecation warnings

parent aa7f9b00
......@@ -939,7 +939,9 @@ gsupplicant_class_init(
{
int i;
G_OBJECT_CLASS(klass)->finalize = gsupplicant_finalize;
G_GNUC_BEGIN_IGNORE_DEPRECATIONS
g_type_class_add_private(klass, sizeof(GSupplicantPriv));
G_GNUC_END_IGNORE_DEPRECATIONS
for (i=0; i<SIGNAL_PROPERTY_CHANGED; i++) {
gsupplicant_signals[i] = g_signal_new(gsupplicant_signame[i],
G_OBJECT_CLASS_TYPE(klass), G_SIGNAL_RUN_FIRST,
......
......@@ -1494,7 +1494,9 @@ gsupplicant_bss_class_init(
GObjectClass* object_class = G_OBJECT_CLASS(klass);
object_class->dispose = gsupplicant_bss_dispose;
object_class->finalize = gsupplicant_bss_finalize;
G_GNUC_BEGIN_IGNORE_DEPRECATIONS
g_type_class_add_private(klass, sizeof(GSupplicantBSSPriv));
G_GNUC_END_IGNORE_DEPRECATIONS
for (i=0; i<SIGNAL_PROPERTY_CHANGED; i++) {
gsupplicant_bss_signals[i] = g_signal_new(
gsupplicant_bss_signame[i], G_OBJECT_CLASS_TYPE(klass),
......
......@@ -3234,7 +3234,9 @@ gsupplicant_interface_class_init(
GObjectClass* object_class = G_OBJECT_CLASS(klass);
object_class->dispose = gsupplicant_interface_dispose;
object_class->finalize = gsupplicant_interface_finalize;
G_GNUC_BEGIN_IGNORE_DEPRECATIONS
g_type_class_add_private(klass, sizeof(GSupplicantInterfacePriv));
G_GNUC_END_IGNORE_DEPRECATIONS
for (i=0; i<SIGNAL_PROPERTY_CHANGED; i++) {
gsupplicant_interface_signals[i] = g_signal_new(
gsupplicant_interface_signame[i], G_OBJECT_CLASS_TYPE(klass),
......
......@@ -754,7 +754,9 @@ gsupplicant_network_class_init(
GObjectClass* object_class = G_OBJECT_CLASS(klass);
object_class->dispose = gsupplicant_network_dispose;
object_class->finalize = gsupplicant_network_finalize;
G_GNUC_BEGIN_IGNORE_DEPRECATIONS
g_type_class_add_private(klass, sizeof(GSupplicantNetworkPriv));
G_GNUC_END_IGNORE_DEPRECATIONS
for (i=0; i<SIGNAL_PROPERTY_CHANGED; i++) {
gsupplicant_network_signals[i] = g_signal_new(
gsupplicant_network_signame[i], G_OBJECT_CLASS_TYPE(klass),
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment