[tracker/libtracker-bus: 44/44] libtracker-bus: Invert ifdef for array backend
- From: Jürg Billeter <juergbi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tracker/libtracker-bus: 44/44] libtracker-bus: Invert ifdef for array backend
- Date: Fri, 13 Aug 2010 14:08:19 +0000 (UTC)
commit d81e921fc7cc6ffc6a807aa96ce62f46e536d0fa
Author: Martyn Russell <martyn lanedo com>
Date: Fri Aug 13 14:48:31 2010 +0100
libtracker-bus: Invert ifdef for array backend
Was only working for FD passing which is the wrong way round. The test
cases for updating should work now without FD passing. This was crashing
src/libtracker-bus/tracker-bus-array-update.c | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/src/libtracker-bus/tracker-bus-array-update.c b/src/libtracker-bus/tracker-bus-array-update.c
index b22b5cc..2d91e6f 100644
--- a/src/libtracker-bus/tracker-bus-array-update.c
+++ b/src/libtracker-bus/tracker-bus-array-update.c
@@ -35,7 +35,7 @@
#include "tracker-bus.h"
#include "tracker-bus-shared.h"
-#ifdef HAVE_DBUS_FD_PASSING
+#ifndef HAVE_DBUS_FD_PASSING
typedef struct {
DBusConnection *connection;
@@ -130,7 +130,7 @@ tracker_bus_array_sparql_update_blank_async (DBusGConnection *connection,
GAsyncReadyCallback callback,
gpointer user_data)
{
-#ifdef HAVE_DBUS_FD_PASSING
+#ifndef HAVE_DBUS_FD_PASSING
DBusPendingCall *call;
DBusMessage *message;
AsyncData *fad;
@@ -177,7 +177,7 @@ tracker_bus_array_sparql_update_blank (DBusGConnection *connection,
const gchar *query,
GError **error)
{
-#ifdef HAVE_DBUS_FD_PASSING
+#ifndef HAVE_DBUS_FD_PASSING
DBusMessage *reply, *message;
GVariant *result;
DBusMessageIter iter;
@@ -250,7 +250,7 @@ GVariant *
tracker_bus_array_sparql_update_blank_finish (GAsyncResult *res,
GError **error)
{
-#ifdef HAVE_DBUS_FD_PASSING
+#ifndef HAVE_DBUS_FD_PASSING
g_return_val_if_fail (res != NULL, NULL);
if (g_simple_async_result_propagate_error (G_SIMPLE_ASYNC_RESULT (res), error)) {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]