mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-05-18 11:41:58 +02:00
Fix the build on non-Unix
https://bugzilla.gnome.org/show_bug.cgi?id=655148 Signed-off-by: David Zeuthen <davidz@redhat.com>
This commit is contained in:
parent
15a1cf8049
commit
f8b98841ad
@ -4970,9 +4970,7 @@ typedef struct
|
|||||||
guint32 serial;
|
guint32 serial;
|
||||||
|
|
||||||
GVariant *value;
|
GVariant *value;
|
||||||
#ifdef G_OS_UNIX
|
|
||||||
GUnixFDList *fd_list;
|
GUnixFDList *fd_list;
|
||||||
#endif
|
|
||||||
} CallState;
|
} CallState;
|
||||||
|
|
||||||
static void
|
static void
|
||||||
@ -4983,10 +4981,8 @@ call_state_free (CallState *state)
|
|||||||
|
|
||||||
if (state->value != NULL)
|
if (state->value != NULL)
|
||||||
g_variant_unref (state->value);
|
g_variant_unref (state->value);
|
||||||
#ifdef G_OS_UNIX
|
|
||||||
if (state->fd_list != NULL)
|
if (state->fd_list != NULL)
|
||||||
g_object_unref (state->fd_list);
|
g_object_unref (state->fd_list);
|
||||||
#endif
|
|
||||||
g_slice_free (CallState, state);
|
g_slice_free (CallState, state);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user