Patch for the maemo conic dummy device



Hi,

find attached a patch that fixes a SIGSEV when using the dummy device. The user data was incorrectly set.

Br
Index: tny-maemo-conic-dummy-device.c
===================================================================
--- tny-maemo-conic-dummy-device.c	(revision 3016)
+++ tny-maemo-conic-dummy-device.c	(working copy)
@@ -232,9 +232,9 @@
 			GTK_MESSAGE_QUESTION, GTK_BUTTONS_OK_CANCEL, 
 			"TnyMaemoConicDevice fake scratchbox implementation:\nThe application requested a connection. Make a fake connection?"));
 
-	g_signal_connect_swapped (dialog, "response",
-		G_CALLBACK (dummy_con_ic_connection_connect_by_id_async_cb),
-		dialog);
+	g_signal_connect (dialog, "response",
+			  G_CALLBACK (dummy_con_ic_connection_connect_by_id_async_cb),
+			  info);
 
 	gtk_widget_show (GTK_WIDGET (dialog));
 


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