Commit 48d3c8b7 authored by Carlos Garnacho's avatar Carlos Garnacho

tracker-control: Add missing return value to DBus skeleton method

This call actually returns a boolean, where FALSE let's the glib machinery
deal with the invocation itself. We already did that, so that'll only
trigger warnings and maybe other misbehaviors.
parent 21b2c7c8
......@@ -168,7 +168,7 @@ update_indexed_files (TrackerMinerFilesIndex *index)
(const gchar * const *) priv->indexed_files->data);
}
static void
static gboolean
tracker_miner_files_index_handle_index_location (TrackerDBusMinerFilesIndex *skeleton,
GDBusMethodInvocation *invocation,
const gchar *file_uri,
......@@ -183,8 +183,6 @@ tracker_miner_files_index_handle_index_location (TrackerDBusMinerFilesIndex *ske
priv = TRACKER_MINER_FILES_INDEX_GET_PRIVATE (index);
tracker_gdbus_async_return_if_fail (file_uri != NULL, invocation);
request = tracker_g_dbus_request_begin (invocation, "%s(uri:'%s')", __FUNCTION__, file_uri);
file = g_file_new_for_uri (file_uri);
......@@ -205,6 +203,8 @@ tracker_miner_files_index_handle_index_location (TrackerDBusMinerFilesIndex *ske
g_dbus_method_invocation_return_value (invocation, NULL);
g_object_unref (file);
return TRUE;
}
static void
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment