mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2025-12-23 21:20:08 +01:00
named-manager: whitespace cleanups
This commit is contained in:
parent
893315ece6
commit
aa374d711a
1 changed files with 6 additions and 7 deletions
|
|
@ -16,7 +16,7 @@
|
|||
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||
*
|
||||
* Copyright (C) 2004 - 2005 Colin Walters <walters@redhat.com>
|
||||
* Copyright (C) 2004 - 2008 Red Hat, Inc.
|
||||
* Copyright (C) 2004 - 2010 Red Hat, Inc.
|
||||
* Copyright (C) 2005 - 2008 Novell, Inc.
|
||||
* and others
|
||||
*/
|
||||
|
|
@ -60,9 +60,9 @@ G_DEFINE_TYPE(NMNamedManager, nm_named_manager, G_TYPE_OBJECT)
|
|||
|
||||
|
||||
struct NMNamedManagerPrivate {
|
||||
NMIP4Config * vpn_config;
|
||||
NMIP4Config * device_config;
|
||||
GSList * configs;
|
||||
NMIP4Config *vpn_config;
|
||||
NMIP4Config *device_config;
|
||||
GSList *configs;
|
||||
};
|
||||
|
||||
|
||||
|
|
@ -71,11 +71,10 @@ nm_named_manager_get (void)
|
|||
{
|
||||
static NMNamedManager * singleton = NULL;
|
||||
|
||||
if (!singleton) {
|
||||
if (!singleton)
|
||||
singleton = NM_NAMED_MANAGER (g_object_new (NM_TYPE_NAMED_MANAGER, NULL));
|
||||
} else {
|
||||
else
|
||||
g_object_ref (singleton);
|
||||
}
|
||||
|
||||
g_assert (singleton);
|
||||
return singleton;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue