[gnome-initial-setup] network: Fix warnings



commit 2a20c705469548ab7bd19a9d2e2a6321a08382a6
Author: Jasper St. Pierre <jstpierre mecheye net>
Date:   Tue Jun 12 13:02:20 2012 -0400

    network: Fix warnings

 gnome-initial-setup/gis-network-page.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gnome-initial-setup/gis-network-page.c b/gnome-initial-setup/gis-network-page.c
index 1f42740..1ee8542 100644
--- a/gnome-initial-setup/gis-network-page.c
+++ b/gnome-initial-setup/gis-network-page.c
@@ -623,7 +623,7 @@ gis_prepare_network_page (SetupData *setup)
   guint i;
   DBusGConnection *bus;
   GError *error;
-  NetworkData *data = g_slice_new (NetworkData);
+  NetworkData *data = g_slice_new0 (NetworkData);
   data->setup = setup;
 
   col = OBJ(GtkTreeViewColumn*, "network-list-column");



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]