[tracker/gdbus-porting-rebased: 53/65] tracker-extract: Remove handling of now impossible error
- From: Philip Van Hoof <pvanhoof src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tracker/gdbus-porting-rebased: 53/65] tracker-extract: Remove handling of now impossible error
- Date: Wed, 12 Jan 2011 11:20:14 +0000 (UTC)
commit 81f1d5934f031d424c0eec489507aa992aa13d1e
Author: Philip Van Hoof <philip codeminded be>
Date: Fri Jan 7 11:50:02 2011 +0100
tracker-extract: Remove handling of now impossible error
src/tracker-extract/tracker-extract.c | 20 --------------------
1 files changed, 0 insertions(+), 20 deletions(-)
---
diff --git a/src/tracker-extract/tracker-extract.c b/src/tracker-extract/tracker-extract.c
index dede7a6..83f3cad 100644
--- a/src/tracker-extract/tracker-extract.c
+++ b/src/tracker-extract/tracker-extract.c
@@ -770,7 +770,6 @@ handle_method_call_get_metadata_fast (TrackerExtract *object,
GVariant *parameters)
{
TrackerDBusRequest *request;
- const gchar *expected_signature;
TrackerExtractPrivate *priv;
GDBusMessage *reply;
const gchar *uri, *mime;
@@ -787,27 +786,8 @@ handle_method_call_get_metadata_fast (TrackerExtract *object,
connection = g_dbus_method_invocation_get_connection (invocation);
method_message = g_dbus_method_invocation_get_message (invocation);
- expected_signature = "ssh";
-
- if (g_strcmp0 (g_dbus_message_get_signature (method_message), expected_signature)) {
- reply = g_dbus_message_new_method_error (method_message,
- "Unknown method",
- UNKNOWN_METHOD_MESSAGE,
- g_dbus_message_get_signature (method_message),
- g_dbus_message_get_interface (method_message),
- expected_signature);
-
- g_dbus_connection_send_message (connection, reply,
- G_DBUS_SEND_MESSAGE_FLAGS_NONE,
- NULL, NULL);
-
- g_object_unref (reply);
- return;
- }
-
g_variant_get (parameters, "(&s&sh)", &uri, &mime, &fd);
-
request = tracker_g_dbus_request_begin (invocation,
"%s(uri:'%s', mime:%s)",
__FUNCTION__,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]