summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Haller <thaller@redhat.com>2013-12-12 16:11:56 +0100
committerThomas Haller <thaller@redhat.com>2013-12-12 17:10:47 +0100
commitc62b189035c68d6b9ec8b96d6d1eeb2dcbeb3e5c (patch)
tree805e5071ae1a487cfc200b662d468afbf7928324
parentd88c1530361b23ae1a13295c0138b434c5587256 (diff)
downloadNetworkManager-dcbw/startup-link-wait-rh1030583-rh1034921.tar.gz
fixup! core: convert pending actions from a counter to a GArraydcbw/startup-link-wait-rh1030583-rh1034921
-rw-r--r--src/devices/nm-device.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/devices/nm-device.c b/src/devices/nm-device.c
index b864e00a13..1c1497a4c4 100644
--- a/src/devices/nm-device.c
+++ b/src/devices/nm-device.c
@@ -395,7 +395,7 @@ nm_device_init (NMDevice *self)
priv->rfkill_type = RFKILL_TYPE_UNKNOWN;
priv->autoconnect = DEFAULT_AUTOCONNECT;
priv->available_connections = g_hash_table_new_full (g_direct_hash, g_direct_equal, g_object_unref, NULL);
- priv->pending_actions = g_array_sized_new (TRUE, TRUE, sizeof (GQuark), 3);
+ priv->pending_actions = g_array_sized_new (FALSE, TRUE, sizeof (GQuark), 4);
}
static void