[tracker] tracker-extract: remove unneeded things
- From: Aleksander Morgado <aleksm src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tracker] tracker-extract: remove unneeded things
- Date: Tue, 18 May 2010 16:00:28 +0000 (UTC)
commit 641c8e31896eff86ab3e7528cec56ec022c550b6
Author: Aleksander Morgado <aleksander lanedo com>
Date: Tue May 18 17:59:03 2010 +0200
tracker-extract: remove unneeded things
src/tracker-extract/tracker-read.c | 7 +------
src/tracker-extract/tracker-read.h | 1 +
2 files changed, 2 insertions(+), 6 deletions(-)
---
diff --git a/src/tracker-extract/tracker-read.c b/src/tracker-extract/tracker-read.c
index deee6e9..6157147 100644
--- a/src/tracker-extract/tracker-read.c
+++ b/src/tracker-extract/tracker-read.c
@@ -27,14 +27,9 @@
#include "tracker-read.h"
-/* Size of the buffer to use when reading from the GIOChannel, in bytes */
+/* Size of the buffer to use when reading, in bytes */
#define BUFFER_SIZE 65535
-/* Maximum number of retries if the GIOChannel is G_IO_STATUS_AGAIN,
- * to avoid infinite loops */
-#define MAX_RETRIES 5
-
-
static GString *
get_string_in_locale (GString *s)
{
diff --git a/src/tracker-extract/tracker-read.h b/src/tracker-extract/tracker-read.h
index a1617a3..107ec39 100644
--- a/src/tracker-extract/tracker-read.h
+++ b/src/tracker-extract/tracker-read.h
@@ -21,6 +21,7 @@
#define __TRACKER_READ_H__
#include <glib.h>
+#include <gio/gio.h>
G_BEGIN_DECLS
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]