[glib] Fix the build on non-Unix
- From: David Zeuthen <davidz src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glib] Fix the build on non-Unix
- Date: Mon, 25 Jul 2011 13:56:20 +0000 (UTC)
commit f8b98841ad44d4603c60fdbad6f3e58a64eb9043
Author: David Zeuthen <davidz redhat com>
Date: Mon Jul 25 09:56:01 2011 -0400
Fix the build on non-Unix
https://bugzilla.gnome.org/show_bug.cgi?id=655148
Signed-off-by: David Zeuthen <davidz redhat com>
gio/gdbusconnection.c | 4 ----
1 files changed, 0 insertions(+), 4 deletions(-)
---
diff --git a/gio/gdbusconnection.c b/gio/gdbusconnection.c
index 6711453..77a5df8 100644
--- a/gio/gdbusconnection.c
+++ b/gio/gdbusconnection.c
@@ -4970,9 +4970,7 @@ typedef struct
guint32 serial;
GVariant *value;
-#ifdef G_OS_UNIX
GUnixFDList *fd_list;
-#endif
} CallState;
static void
@@ -4983,10 +4981,8 @@ call_state_free (CallState *state)
if (state->value != NULL)
g_variant_unref (state->value);
-#ifdef G_OS_UNIX
if (state->fd_list != NULL)
g_object_unref (state->fd_list);
-#endif
g_slice_free (CallState, state);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]