[tracker/direct-access: 54/85] Revert "Indentation fixes, feel free to squash"
- From: Jürg Billeter <juergbi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tracker/direct-access: 54/85] Revert "Indentation fixes, feel free to squash"
- Date: Tue, 20 Jul 2010 14:09:09 +0000 (UTC)
commit 8797300289753fe5374a824f7bada154b9c09862
Author: Martyn Russell <martyn lanedo com>
Date: Thu Jul 15 16:09:02 2010 +0100
Revert "Indentation fixes, feel free to squash"
This reverts commit efd697df855dec03b9535351f0dc769a804f737d.
src/libtracker-bus/tracker-bus-cursor.c | 28 ++++++++++++++--------------
1 files changed, 14 insertions(+), 14 deletions(-)
---
diff --git a/src/libtracker-bus/tracker-bus-cursor.c b/src/libtracker-bus/tracker-bus-cursor.c
index fd9639e..b48c9cc 100644
--- a/src/libtracker-bus/tracker-bus-cursor.c
+++ b/src/libtracker-bus/tracker-bus-cursor.c
@@ -81,8 +81,8 @@ buffer_read_int (TrackerBusCursor *cursor)
static gboolean
tracker_bus_cursor_iter_next (TrackerBusCursor *cursor,
- GCancellable *cancellable,
- GError **error)
+ GCancellable *cancellable,
+ GError **error)
{
int last_offset;
@@ -157,8 +157,8 @@ tracker_bus_cursor_get_n_columns (TrackerBusCursor *cursor)
static const gchar *
tracker_bus_cursor_get_string (TrackerBusCursor *cursor,
- guint column,
- gint *length)
+ guint column,
+ gint *length)
{
g_return_val_if_fail (column < tracker_bus_cursor_get_n_columns (cursor), NULL);
@@ -172,17 +172,17 @@ tracker_bus_cursor_get_string (TrackerBusCursor *cursor,
static void
tracker_bus_cursor_class_init (TrackerBusCursorClass *class)
{
- GObjectClass *object_class = G_OBJECT_CLASS (class);
- TrackerSparqlCursorClass *sparql_cursor_class = TRACKER_SPARQL_CURSOR_CLASS (class);
+ GObjectClass *object_class = G_OBJECT_CLASS (class);
+ TrackerSparqlCursorClass *sparql_cursor_class = TRACKER_SPARQL_CURSOR_CLASS (class);
- object_class->finalize = tracker_bus_cursor_finalize;
+ object_class->finalize = tracker_bus_cursor_finalize;
- sparql_cursor_class->get_n_columns = (gint (*) (TrackerSparqlCursor *)) tracker_bus_cursor_get_n_columns;
- sparql_cursor_class->get_string = (const gchar * (*) (TrackerSparqlCursor *, gint, gint*)) tracker_bus_cursor_get_string;
- sparql_cursor_class->next = (gboolean (*) (TrackerSparqlCursor *, GCancellable *, GError **)) tracker_bus_cursor_iter_next;
- sparql_cursor_class->next_async = (void (*) (TrackerSparqlCursor *, GCancellable *, GAsyncReadyCallback, gpointer)) tracker_bus_cursor_iter_next_async;
- sparql_cursor_class->next_finish = (gboolean (*) (TrackerSparqlCursor *, GAsyncResult *, GError **)) tracker_bus_cursor_iter_next_finish;
- sparql_cursor_class->rewind = (void (*) (TrackerSparqlCursor *)) tracker_bus_cursor_rewind;
+ sparql_cursor_class->get_n_columns = (gint (*) (TrackerSparqlCursor *)) tracker_bus_cursor_get_n_columns;
+ sparql_cursor_class->get_string = (const gchar * (*) (TrackerSparqlCursor *, gint, gint*)) tracker_bus_cursor_get_string;
+ sparql_cursor_class->next = (gboolean (*) (TrackerSparqlCursor *, GCancellable *, GError **)) tracker_bus_cursor_iter_next;
+ sparql_cursor_class->next_async = (void (*) (TrackerSparqlCursor *, GCancellable *, GAsyncReadyCallback, gpointer)) tracker_bus_cursor_iter_next_async;
+ sparql_cursor_class->next_finish = (gboolean (*) (TrackerSparqlCursor *, GAsyncResult *, GError **)) tracker_bus_cursor_iter_next_finish;
+ sparql_cursor_class->rewind = (void (*) (TrackerSparqlCursor *)) tracker_bus_cursor_rewind;
}
void
@@ -203,7 +203,7 @@ tracker_bus_cursor_finalize (GObject *object)
}
-/* Public API */
+// Public API
TrackerSparqlCursor *
tracker_bus_query (DBusGConnection *gconnection,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]