[geocode-glib] lib: Minor coding-style fixes



commit 920edcc7412eb2c5698e5e40968ac46a3e80f37c
Author: Zeeshan Ali (Khattak) <zeeshanak gnome org>
Date:   Wed Apr 3 17:26:02 2013 +0300

    lib: Minor coding-style fixes
    
    https://bugzilla.gnome.org/show_bug.cgi?id=696527

 geocode-glib/geocode-ipclient.c |   18 +++++++++---------
 geocode-glib/geocode-ipclient.h |   18 +++++++++---------
 2 files changed, 18 insertions(+), 18 deletions(-)
---
diff --git a/geocode-glib/geocode-ipclient.c b/geocode-glib/geocode-ipclient.c
index 34c34c8..1697a67 100644
--- a/geocode-glib/geocode-ipclient.c
+++ b/geocode-glib/geocode-ipclient.c
@@ -253,10 +253,10 @@ query_callback (GObject        *source_forward,
  * geocode_ipclient_search_finish() to get the result of the operation.
  **/
 void
-geocode_ipclient_search_async (GeocodeIpclient           *ipclient,
-                               GCancellable              *cancellable,
-                               GAsyncReadyCallback       callback,
-                               gpointer                  user_data)
+geocode_ipclient_search_async (GeocodeIpclient    *ipclient,
+                               GCancellable       *cancellable,
+                               GAsyncReadyCallback callback,
+                               gpointer            user_data)
 {
         GSimpleAsyncResult *simple;
         GFile *query;
@@ -318,8 +318,8 @@ parse_server_error (JsonObject *object, GError **error)
 }
 
 GeocodeLocation *
-_geocode_ip_json_to_location (const char  *json,
-                             GError     **error)
+_geocode_ip_json_to_location (const char *json,
+                              GError    **error)
 {
         JsonParser *parser;
         JsonNode *node;
@@ -384,7 +384,7 @@ _geocode_ip_json_to_location (const char  *json,
 GeocodeLocation *
 geocode_ipclient_search_finish (GeocodeIpclient *ipclient,
                                 GAsyncResult    *res,
-                                GError          **error)
+                                GError         **error)
 {
         GSimpleAsyncResult *simple = G_SIMPLE_ASYNC_RESULT (res);
         char *contents = NULL;
@@ -415,8 +415,8 @@ geocode_ipclient_search_finish (GeocodeIpclient *ipclient,
  * errors. Free the returned object with g_object_unref() when done.
  **/
 GeocodeLocation *
-geocode_ipclient_search (GeocodeIpclient        *ipclient,
-                         GError                 **error)
+geocode_ipclient_search (GeocodeIpclient *ipclient,
+                         GError         **error)
 {
         char *contents;
         GFile *query;
diff --git a/geocode-glib/geocode-ipclient.h b/geocode-glib/geocode-ipclient.h
index 7bd26da..e71bd7b 100644
--- a/geocode-glib/geocode-ipclient.h
+++ b/geocode-glib/geocode-ipclient.h
@@ -67,17 +67,17 @@ GeocodeIpclient *geocode_ipclient_new           (void);
 GeocodeIpclient *geocode_ipclient_new_for_ip    (const char *str);
 
 
-void geocode_ipclient_search_async  (GeocodeIpclient       *ipclient,
-                                     GCancellable          *cancellable,
-                                     GAsyncReadyCallback    callback,
-                                     gpointer               user_data);
+void geocode_ipclient_search_async              (GeocodeIpclient    *ipclient,
+                                                 GCancellable       *cancellable,
+                                                 GAsyncReadyCallback callback,
+                                                 gpointer            user_data);
 
-GeocodeLocation *geocode_ipclient_search_finish (GeocodeIpclient   *ipclient,
-                                                 GAsyncResult      *res,
-                                                 GError            **error);
+GeocodeLocation *geocode_ipclient_search_finish (GeocodeIpclient *ipclient,
+                                                 GAsyncResult    *res,
+                                                 GError         **error);
 
-GeocodeLocation *geocode_ipclient_search (GeocodeIpclient *ipclient,
-                                          GError          **error);
+GeocodeLocation *geocode_ipclient_search        (GeocodeIpclient *ipclient,
+                                                 GError         **error);
 
 G_END_DECLS
 


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