network-manager-applet r1276 - in trunk: . src/connection-editor



Author: dcbw
Date: Wed Apr 15 14:54:56 2009
New Revision: 1276
URL: http://svn.gnome.org/viewvc/network-manager-applet?rev=1276&view=rev

Log:
2009-04-15  Alexander Sack  <asac ubuntu com>

	* src/connection-editor/nm-connection-list.c
		- (add_done_cb): prevent assertion crash when editor dialogs are
			cancelled (lp #361115)



Modified:
   trunk/ChangeLog
   trunk/src/connection-editor/nm-connection-list.c

Modified: trunk/src/connection-editor/nm-connection-list.c
==============================================================================
--- trunk/src/connection-editor/nm-connection-list.c	(original)
+++ trunk/src/connection-editor/nm-connection-list.c	Wed Apr 15 14:54:56 2009
@@ -740,6 +740,8 @@
 	case GTK_RESPONSE_OK:
 		add_connection (info->list, editor, connection, NULL, NULL);
 		break;
+	case GTK_RESPONSE_CANCEL:
+		break;
 	default:
 		g_assert_not_reached ();
 		break;



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