[gnome-bluetooth/gnome-3-2] wizard: Fix close button not working



commit ec2f14cca33a6ca1c9c2b0692002972b7a008f5b
Author: Bastien Nocera <hadess hadess net>
Date:   Wed Jan 18 15:40:28 2012 +0000

    wizard: Fix close button not working
    
    Bizarrely enough.

 wizard/main.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/wizard/main.c b/wizard/main.c
index 1e0f999..1c4b6e8 100644
--- a/wizard/main.c
+++ b/wizard/main.c
@@ -408,10 +408,10 @@ create_callback (BluetoothClient *_client,
 }
 
 void
-close_callback (GtkWidget *assistant,
+close_callback (GtkWidget *widget,
 		gpointer data)
 {
-	gtk_widget_destroy(assistant);
+	gtk_widget_destroy(GTK_WIDGET (window_assistant));
 }
 
 void prepare_callback (GtkWidget *assistant,



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