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



commit aca0c34a5a01cce35e16424a6663b02f47f1d083
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 5cc94c4..a9ef386 100644
--- a/wizard/main.c
+++ b/wizard/main.c
@@ -404,10 +404,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]