[gnome-initial-setup] network: fix a typo leading to a crash



commit f9ca84b99fab60609f1ce101dbc03dd22e70ba0f
Author: Cosimo Cecchi <cosimoc gnome org>
Date:   Tue Jun 19 10:46:34 2012 -0400

    network: fix a typo leading to a crash
    
    Assigning the pointer to itself is clearly not what we want here.

 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 1ee8542..f1fd898 100644
--- a/gnome-initial-setup/gis-network-page.c
+++ b/gnome-initial-setup/gis-network-page.c
@@ -428,7 +428,7 @@ connection_add_activate_cb (NMClient *client,
 static void
 connect_to_hidden_network_cb (GObject *source_object, GAsyncResult *res, gpointer user_data)
 {
-  NetworkData *data = data;
+  NetworkData *data = user_data;
   GError *error = NULL;
   GVariant *result = NULL;
 



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