[network-manager-netbook] trivial: don't shadow close



commit f0abb26d04613285eac33c8f5f5013e173471df6
Author: Dan Williams <dcbw redhat com>
Date:   Wed Nov 3 10:53:19 2010 -0500

    trivial: don't shadow close

 src/nmn-new-connection.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/nmn-new-connection.c b/src/nmn-new-connection.c
index a8350a2..1a6efd7 100644
--- a/src/nmn-new-connection.c
+++ b/src/nmn-new-connection.c
@@ -638,7 +638,7 @@ nmn_new_connection_update (NmnNewConnection *self)
 }
 
 static void
-close (NmnNewConnection *self)
+emit_close (NmnNewConnection *self)
 {
     g_signal_emit (self, signals[CLOSE], 0);
 }
@@ -714,7 +714,7 @@ nmn_new_connection_init (NmnNewConnection *self)
     gtk_box_pack_start (GTK_BOX (self), w, FALSE, FALSE, 0);
     button = gtk_button_new_with_label (_("Return to Networking"));
     gtk_container_add (GTK_CONTAINER (w), button);
-    g_signal_connect_swapped (button, "clicked", G_CALLBACK (close), self);
+    g_signal_connect_swapped (button, "clicked", G_CALLBACK (emit_close), self);
 
     gtk_widget_show_all (GTK_WIDGET (self));
 }



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