[libgfbgraph] trivial: removed trilling whitespaces and changed tabs by spaces



commit cb90d412d63014ca4fdf9fe5d51eaa8012fd389f
Author: Álvaro Peña <alvaropg gmail com>
Date:   Wed Oct 23 23:56:00 2013 +0200

    trivial: removed trilling whitespaces and changed tabs by spaces

 gfbgraph/gfbgraph-album.c             |   16 ++++++++--------
 gfbgraph/gfbgraph-connectable.c       |    2 +-
 gfbgraph/gfbgraph-goa-authorizer.c    |   16 ++++++++--------
 gfbgraph/gfbgraph-node.c              |   12 ++++++------
 gfbgraph/gfbgraph-node.h              |    2 +-
 gfbgraph/gfbgraph-simple-authorizer.c |    2 +-
 gfbgraph/gfbgraph-user.c              |   32 ++++++++++++++++----------------
 gfbgraph/gfbgraph-user.h              |    4 ++--
 8 files changed, 43 insertions(+), 43 deletions(-)
---
diff --git a/gfbgraph/gfbgraph-album.c b/gfbgraph/gfbgraph-album.c
index 32e89c9..639b2d9 100644
--- a/gfbgraph/gfbgraph-album.c
+++ b/gfbgraph/gfbgraph-album.c
@@ -69,21 +69,21 @@ G_DEFINE_TYPE_WITH_CODE (GFBGraphAlbum, gfbgraph_album, GFBGRAPH_TYPE_NODE,
 static void
 gfbgraph_album_init (GFBGraphAlbum *obj)
 {
-       obj->priv = GFBGRAPH_ALBUM_GET_PRIVATE(obj);
+        obj->priv = GFBGRAPH_ALBUM_GET_PRIVATE(obj);
 }
 
 static void
 gfbgraph_album_class_init (GFBGraphAlbumClass *klass)
 {
-       GObjectClass *gobject_class = G_OBJECT_CLASS (klass);
+        GObjectClass *gobject_class = G_OBJECT_CLASS (klass);
 
-       parent_class            = g_type_class_peek_parent (klass);
+        parent_class            = g_type_class_peek_parent (klass);
 
-       gobject_class->finalize = gfbgraph_album_finalize;
+        gobject_class->finalize = gfbgraph_album_finalize;
         gobject_class->set_property = gfbgraph_album_set_property;
         gobject_class->get_property = gfbgraph_album_get_property;
 
-       g_type_class_add_private (gobject_class, sizeof(GFBGraphAlbumPrivate));
+        g_type_class_add_private (gobject_class, sizeof(GFBGraphAlbumPrivate));
 
         /**
          * GFBGraphAlbum:name:
@@ -138,7 +138,7 @@ gfbgraph_album_class_init (GFBGraphAlbumClass *klass)
 static void
 gfbgraph_album_finalize (GObject *obj)
 {
-       G_OBJECT_CLASS(parent_class)->finalize (obj);
+        G_OBJECT_CLASS(parent_class)->finalize (obj);
 }
 
 static void
@@ -234,12 +234,12 @@ gfbgraph_album_get_connection_post_params (GFBGraphConnectable *self, GType node
  *
  * Creates a new #GFBGraphAlbum.
  *
- * Returns: (transfer full): a new #GFBGraphAlbum; unref with g_object_unref() 
+ * Returns: (transfer full): a new #GFBGraphAlbum; unref with g_object_unref()
  **/
 GFBGraphAlbum*
 gfbgraph_album_new (void)
 {
-       return GFBGRAPH_ALBUM (g_object_new(GFBGRAPH_TYPE_ALBUM, NULL));
+        return GFBGRAPH_ALBUM (g_object_new(GFBGRAPH_TYPE_ALBUM, NULL));
 }
 
 /**
diff --git a/gfbgraph/gfbgraph-connectable.c b/gfbgraph/gfbgraph-connectable.c
index b125661..1f4a748 100644
--- a/gfbgraph/gfbgraph-connectable.c
+++ b/gfbgraph/gfbgraph-connectable.c
@@ -25,7 +25,7 @@
  *
  * #GFBGraphConnectable interface allow the connection between nodes.
  * You can see the posible (not necesary implemented) connections in
- * the section "Connections" in any node object in the 
+ * the section "Connections" in any node object in the
  * <ulink url="https://developers.facebook.com/docs/reference/api/";>Facebook Graph API documentation</ulink>
  **/
 
diff --git a/gfbgraph/gfbgraph-goa-authorizer.c b/gfbgraph/gfbgraph-goa-authorizer.c
index 4ef2570..7d75244 100644
--- a/gfbgraph/gfbgraph-goa-authorizer.c
+++ b/gfbgraph/gfbgraph-goa-authorizer.c
@@ -66,11 +66,11 @@ G_DEFINE_TYPE_WITH_CODE (GFBGraphGoaAuthorizer, gfbgraph_goa_authorizer, G_TYPE_
 static void
 gfbgraph_goa_authorizer_class_init (GFBGraphGoaAuthorizerClass *klass)
 {
-       GObjectClass *gobject_class;
-       gobject_class = (GObjectClass*) klass;
+        GObjectClass *gobject_class;
+        gobject_class = (GObjectClass*) klass;
 
-       parent_class            = g_type_class_peek_parent (klass);
-       gobject_class->finalize = gfbgraph_goa_authorizer_finalize;
+        parent_class            = g_type_class_peek_parent (klass);
+        gobject_class->finalize = gfbgraph_goa_authorizer_finalize;
         gobject_class->get_property = gfbgraph_goa_authorizer_get_property;
         gobject_class->set_property = gfbgraph_goa_authorizer_set_property;
         gobject_class->dispose = gfbgraph_goa_authorizer_dispose;
@@ -89,20 +89,20 @@ gfbgraph_goa_authorizer_class_init (GFBGraphGoaAuthorizerClass *klass)
                                                               GOA_TYPE_OBJECT,
                                                               G_PARAM_CONSTRUCT_ONLY | G_PARAM_READWRITE));
 
-       g_type_class_add_private (gobject_class, sizeof(GFBGraphGoaAuthorizerPrivate));
+        g_type_class_add_private (gobject_class, sizeof(GFBGraphGoaAuthorizerPrivate));
 }
 
 static void
 gfbgraph_goa_authorizer_init (GFBGraphGoaAuthorizer *object)
 {
-       object->priv = GFBGRAPH_GOA_AUTHORIZER_GET_PRIVATE(object);
+        object->priv = GFBGRAPH_GOA_AUTHORIZER_GET_PRIVATE(object);
         g_mutex_init (&object->priv->mutex);
 }
 
 static void
 gfbgraph_goa_authorizer_finalize (GObject *object)
 {
-       G_OBJECT_CLASS(parent_class)->finalize (object);
+        G_OBJECT_CLASS(parent_class)->finalize (object);
 }
 
 static void
@@ -247,5 +247,5 @@ gfbgraph_goa_authorizer_set_goa_object (GFBGraphGoaAuthorizer *self, GoaObject *
 GFBGraphGoaAuthorizer*
 gfbgraph_goa_authorizer_new (GoaObject *goa_object)
 {
-       return GFBGRAPH_GOA_AUTHORIZER (g_object_new (GFBGRAPH_TYPE_GOA_AUTHORIZER, "goa-object", goa_object, 
NULL));
+        return GFBGRAPH_GOA_AUTHORIZER (g_object_new (GFBGRAPH_TYPE_GOA_AUTHORIZER, "goa-object", 
goa_object, NULL));
 }
diff --git a/gfbgraph/gfbgraph-node.c b/gfbgraph/gfbgraph-node.c
index a102c02..ddfc11a 100644
--- a/gfbgraph/gfbgraph-node.c
+++ b/gfbgraph/gfbgraph-node.c
@@ -251,7 +251,7 @@ gfbgraph_node_new (void)
  * @error: (allow-none): a #GError or %NULL.
  *
  * Retrieve a node object as a #GFBgraphNode of #node_type type, with the given @id from the Facebook Graph.
- * 
+ *
  * Returns: (transfer full): a #GFBGraphNode or %NULL.
  **/
 GFBGraphNode*
@@ -284,7 +284,7 @@ gfbgraph_node_new_from_id (GFBGraphAuthorizer *authorizer, const gchar *id, GTyp
                 g_object_unref (jparser);
         }
 
-        return node;        
+        return node;
 }
 
 /**
@@ -341,7 +341,7 @@ gfbgraph_node_get_created_time (GFBGraphNode *node)
  * @node_type: a #GFBGraphNode type #GType that determines the kind of nodes to retrieve.
  * @authorizer: a #GFBGraphAuthorizer.
  * @error: (allow-none): a #GError or %NULL.
- * 
+ *
  * Retrieve the nodes of type @node_type connected to the @node object. The @node_type object must
  * implement the #GFBGraphConnectionable interface and be connectable to @node type object.
  * See gfbgraph_node_get_connection_nodes_async() for the asynchronous version of this call.
@@ -412,7 +412,7 @@ gfbgraph_node_get_connection_nodes (GFBGraphNode *node, GType node_type, GFBGrap
  * @cancellable: (allow-none): An optional #GCancellable object, or %NULL.
  * @callback: (scope async): A #GAsyncReadyCallback to call when the request is completed.
  * @user_data: (closure): The data to pass to @callback.
- * 
+ *
  * Asynchronously retrieve the list of nodes of type @node_type connected to the @node object. See
  * gfbgraph_node_get_connection_nodes() for the synchronous version of this call.
  *
@@ -427,7 +427,7 @@ gfbgraph_node_get_connection_nodes_async (GFBGraphNode *node, GType node_type, G
 
         g_return_if_fail (GFBGRAPH_IS_NODE (node));
         g_return_if_fail (cancellable == NULL || G_IS_CANCELLABLE (cancellable));
-       g_return_if_fail (callback != NULL);
+        g_return_if_fail (callback != NULL);
 
         result = g_simple_async_result_new (G_OBJECT (node), callback, user_data, 
gfbgraph_node_get_connection_nodes_async);
         g_simple_async_result_set_check_cancellable (result, cancellable);
@@ -450,7 +450,7 @@ gfbgraph_node_get_connection_nodes_async (GFBGraphNode *node, GType node_type, G
  * @result: A #GAsyncResult.
  * @error: (allow-none): An optional #GError, or %NULL.
  *
- * Finishes an asynchronous operation started with 
+ * Finishes an asynchronous operation started with
  * gfbgraph_node_get_connection_nodes_async().
  *
  * Returns: (element-type GFBGraphNode) (transfer full): a newly-allocated #GList of type #node_type objects 
with the found nodes.
diff --git a/gfbgraph/gfbgraph-node.h b/gfbgraph/gfbgraph-node.h
index c3ccb38..d0c9463 100644
--- a/gfbgraph/gfbgraph-node.h
+++ b/gfbgraph/gfbgraph-node.h
@@ -46,7 +46,7 @@ struct _GFBGraphNode {
 };
 
 struct _GFBGraphNodeClass {
-       GObjectClass parent_class;
+        GObjectClass parent_class;
 };
 
 typedef enum {
diff --git a/gfbgraph/gfbgraph-simple-authorizer.c b/gfbgraph/gfbgraph-simple-authorizer.c
index d695389..ab1041f 100644
--- a/gfbgraph/gfbgraph-simple-authorizer.c
+++ b/gfbgraph/gfbgraph-simple-authorizer.c
@@ -118,7 +118,7 @@ gfbgraph_simple_authorizer_set_property (GObject *object, guint prop_id, const G
                 default:
                         G_OBJECT_WARN_INVALID_PROPERTY_ID (object, prop_id, pspec);
                         break;
-        }  
+        }
 }
 
 static void
diff --git a/gfbgraph/gfbgraph-user.c b/gfbgraph/gfbgraph-user.c
index eb863e5..a68c6df 100644
--- a/gfbgraph/gfbgraph-user.c
+++ b/gfbgraph/gfbgraph-user.c
@@ -75,20 +75,20 @@ G_DEFINE_TYPE (GFBGraphUser, gfbgraph_user, GFBGRAPH_TYPE_NODE);
 static void
 gfbgraph_user_init (GFBGraphUser *obj)
 {
-       obj->priv = GFBGRAPH_USER_GET_PRIVATE(obj);
+        obj->priv = GFBGRAPH_USER_GET_PRIVATE(obj);
 }
 
 static void
 gfbgraph_user_class_init (GFBGraphUserClass *klass)
 {
-       GObjectClass *gobject_class = G_OBJECT_CLASS (klass);
+        GObjectClass *gobject_class = G_OBJECT_CLASS (klass);
 
-       parent_class            = g_type_class_peek_parent (klass);
-       gobject_class->finalize = gfbgraph_user_finalize;
+        parent_class            = g_type_class_peek_parent (klass);
+        gobject_class->finalize = gfbgraph_user_finalize;
         gobject_class->set_property = gfbgraph_user_set_property;
         gobject_class->get_property = gfbgraph_user_get_property;
 
-       g_type_class_add_private (gobject_class, sizeof(GFBGraphUserPrivate));
+        g_type_class_add_private (gobject_class, sizeof(GFBGraphUserPrivate));
 
         /**
          * GFBGraphUser:name:
@@ -106,7 +106,7 @@ gfbgraph_user_class_init (GFBGraphUserClass *klass)
 static void
 gfbgraph_user_finalize (GObject *obj)
 {
-       G_OBJECT_CLASS(parent_class)->finalize (obj);
+        G_OBJECT_CLASS(parent_class)->finalize (obj);
 }
 
 static void
@@ -148,17 +148,17 @@ gfbgraph_user_get_property (GObject *object, guint prop_id, GValue *value, GPara
 static void
 gfbgraph_user_async_data_free (GFBGraphUserAsyncData *data)
 {
-       g_object_unref (data->user);
+        g_object_unref (data->user);
 
-       g_slice_free (GFBGraphUserAsyncData, data);
+        g_slice_free (GFBGraphUserAsyncData, data);
 }
 
 static void
 gfbgraph_user_connection_async_data_free (GFBGraphUserConnectionAsyncData *data)
 {
-       g_object_unref (data->authorizer);
+        g_object_unref (data->authorizer);
 
-       g_slice_free (GFBGraphUserConnectionAsyncData, data);
+        g_slice_free (GFBGraphUserConnectionAsyncData, data);
 }
 
 static void
@@ -199,7 +199,7 @@ gfbgraph_user_get_albums_async_thread (GSimpleAsyncResult *simple_async, GFBGrap
 GFBGraphUser*
 gfbgraph_user_new (void)
 {
-       return GFBGRAPH_USER (g_object_new (GFBGRAPH_TYPE_USER, NULL));
+        return GFBGRAPH_USER (g_object_new (GFBGRAPH_TYPE_USER, NULL));
 }
 
 /**
@@ -268,7 +268,7 @@ gfbgraph_user_get_me (GFBGraphAuthorizer *authorizer, GError **error)
  * @cancellable: (allow-none): An optional #GCancellable object, or %NULL.
  * @callback: (scope async): A #GAsyncReadyCallback to call when the request is completed.
  * @user_data: (closure); The data to pass to @callback.
- * 
+ *
  * Asynchronously retrieve the current user logged. See gfbgraph_user_get_me() for the
  * synchronous version of this call.
  *
@@ -283,7 +283,7 @@ gfbgraph_user_get_me_async (GFBGraphAuthorizer *authorizer, GCancellable *cancel
 
         g_return_if_fail (GFBGRAPH_IS_AUTHORIZER (authorizer));
         g_return_if_fail (cancellable == NULL || G_IS_CANCELLABLE (cancellable));
-       g_return_if_fail (callback != NULL);
+        g_return_if_fail (callback != NULL);
 
         simple_async = g_simple_async_result_new (G_OBJECT (authorizer), callback, user_data, 
gfbgraph_user_get_me_async);
         g_simple_async_result_set_check_cancellable (simple_async, cancellable);
@@ -303,7 +303,7 @@ gfbgraph_user_get_me_async (GFBGraphAuthorizer *authorizer, GCancellable *cancel
  * @result: A #GAsyncResult.
  * @error: (allow-none): An optional #GError, or %NULL.
  *
- * Finishes an asynchronous operation started with 
+ * Finishes an asynchronous operation started with
  * gfbgraph_user_get_me_async().
  *
  * Returns: (transfer full): a #GFBGraphUser for to the current user logged.
@@ -368,7 +368,7 @@ gfbgraph_user_get_albums_async (GFBGraphUser *user, GFBGraphAuthorizer *authoriz
         g_return_if_fail (GFBGRAPH_IS_USER (user));
         g_return_if_fail (GFBGRAPH_IS_AUTHORIZER (authorizer));
         g_return_if_fail (cancellable == NULL || G_IS_CANCELLABLE (cancellable));
-       g_return_if_fail (callback != NULL);
+        g_return_if_fail (callback != NULL);
 
         simple_async = g_simple_async_result_new (G_OBJECT (user), callback, user_data, 
gfbgraph_user_get_albums_async);
         g_simple_async_result_set_check_cancellable (simple_async, cancellable);
@@ -390,7 +390,7 @@ gfbgraph_user_get_albums_async (GFBGraphUser *user, GFBGraphAuthorizer *authoriz
  * @result: A #GAsyncResult.
  * @error: (allow-none): An optional #GError, or %NULL.
  *
- * Finishes an asynchronous operation started with 
+ * Finishes an asynchronous operation started with
  * gfbgraph_user_get_albums_async().
  *
  * Returns: (element-type GFBGraphAlbum) (transfer full): a newly-allocated #GList of albums owned by the 
@user.
diff --git a/gfbgraph/gfbgraph-user.h b/gfbgraph/gfbgraph-user.h
index e5de277..b1134fe 100644
--- a/gfbgraph/gfbgraph-user.h
+++ b/gfbgraph/gfbgraph-user.h
@@ -42,11 +42,11 @@ struct _GFBGraphUser {
         GFBGraphNode parent;
 
         /*< private >*/
-       GFBGraphUserPrivate *priv;
+        GFBGraphUserPrivate *priv;
 };
 
 struct _GFBGraphUserClass {
-       GFBGraphNodeClass parent_class;
+        GFBGraphNodeClass parent_class;
 };
 
 GType         gfbgraph_user_get_type  (void) G_GNUC_CONST;


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]