mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-02-04 09:30:31 +01:00
libnm/trivial: move code
This commit is contained in:
parent
d5efcc1115
commit
efac9ecadd
1 changed files with 7 additions and 7 deletions
|
|
@ -91,6 +91,13 @@ G_DEFINE_TYPE_WITH_CODE (NMClient, nm_client, G_TYPE_OBJECT,
|
|||
|
||||
#define NM_CLIENT_GET_PRIVATE(o) (G_TYPE_INSTANCE_GET_PRIVATE ((o), NM_TYPE_CLIENT, NMClientPrivate))
|
||||
|
||||
typedef struct {
|
||||
NMClient *client;
|
||||
GCancellable *cancellable;
|
||||
GSimpleAsyncResult *result;
|
||||
int pending_init;
|
||||
} NMClientInitData;
|
||||
|
||||
typedef struct {
|
||||
NMManager *manager;
|
||||
NMRemoteSettings *settings;
|
||||
|
|
@ -2316,13 +2323,6 @@ init_sync (GInitable *initable, GCancellable *cancellable, GError **error)
|
|||
|
||||
/* Asynchronous initialization. */
|
||||
|
||||
typedef struct {
|
||||
NMClient *client;
|
||||
GCancellable *cancellable;
|
||||
GSimpleAsyncResult *result;
|
||||
int pending_init;
|
||||
} NMClientInitData;
|
||||
|
||||
static void
|
||||
init_async_complete (NMClientInitData *init_data)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue