NetworkManager/src/vpn-manager
Dan Winship 08f04466e8 all: remove more pointless NULL checks
GObject creation cannot normally fail, except for types that implement
GInitable and take a GError in their _new() method. Some NM types
override constructor() and return NULL in some cases, but these
generally only happen in the case of programmer error (eg, failing to
set a mandatory property), and so crashing is reasonable (and most
likely inevitable anyway).

So, remove all NULL checks after calls to g_object_new() and its
myriad wrappers.

https://bugzilla.gnome.org/show_bug.cgi?id=693678
2013-02-13 13:38:36 -05:00
..
Makefile.am build: remove G_DISABLE_DEPRECATED 2012-10-31 19:41:07 +01:00
nm-vpn-connection.c vpn: it is not a problem to flush IPv6 routes 2013-01-23 09:09:21 +01:00
nm-vpn-connection.h vpn: kill nm_vpn_connection_get_name() 2012-12-17 17:01:10 -06:00
nm-vpn-manager.c vpn: reduce memory usage a bit 2012-12-17 17:01:11 -06:00
nm-vpn-manager.h vpn: make nm_vpn_manager_deactivate_connection() take an object, not a path 2012-12-17 17:01:11 -06:00
nm-vpn-service.c all: remove more pointless NULL checks 2013-02-13 13:38:36 -05:00
nm-vpn-service.h vpn: reduce memory usage a bit 2012-12-17 17:01:11 -06:00