network-manager-applet r1277 - in branches/NETWORKMANAGER_APPLET_0_7: . src/connection-editor



Author: dcbw
Date: Wed Apr 15 14:57:29 2009
New Revision: 1277
URL: http://svn.gnome.org/viewvc/network-manager-applet?rev=1277&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:
   branches/NETWORKMANAGER_APPLET_0_7/ChangeLog
   branches/NETWORKMANAGER_APPLET_0_7/src/connection-editor/nm-connection-list.c

Modified: branches/NETWORKMANAGER_APPLET_0_7/src/connection-editor/nm-connection-list.c
==============================================================================
--- branches/NETWORKMANAGER_APPLET_0_7/src/connection-editor/nm-connection-list.c	(original)
+++ branches/NETWORKMANAGER_APPLET_0_7/src/connection-editor/nm-connection-list.c	Wed Apr 15 14:57:29 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]