[tracker/direct-access: 53/85] Indentation fixes, feel free to squash
- From: Jürg Billeter <juergbi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tracker/direct-access: 53/85] Indentation fixes, feel free to squash
- Date: Tue, 20 Jul 2010 14:09:04 +0000 (UTC)
commit 4637bc5b3e0627a0fc87a0d34f31a6c5f5056d10
Author: Philip Van Hoof <philip codeminded be>
Date: Thu Jul 15 13:48:27 2010 +0200
Indentation fixes, feel free to squash
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 b48c9cc..fd9639e 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]