[easytag/wip/musicbrainz-support-merge: 14/75] Removed Trailing Whitespaces



commit 46e541972d34c48217ac5fe832225642d59e84de
Author: Abhinav <abhijangda hotmail com>
Date:   Sat Jun 7 14:30:27 2014 +0530

    Removed Trailing Whitespaces

 src/mb_search.c          |   12 ++++++------
 src/mbentityview.h       |    2 +-
 src/musicbrainz_dialog.c |   12 ++++++------
 3 files changed, 13 insertions(+), 13 deletions(-)
---
diff --git a/src/mb_search.c b/src/mb_search.c
index aee9b6b..3047a7d 100644
--- a/src/mb_search.c
+++ b/src/mb_search.c
@@ -151,7 +151,7 @@ et_musicbrainz_search_in_entity (enum MB_ENTITY_TYPE child_type,
                                                             1, param_names,
                                                             param_values);
                         entity = g_malloc (sizeof (EtMbEntity));
-                        entity->entity = mb5_release_clone (mb5_metadata_get_release (metadata_release));    
            
+                        entity->entity = mb5_release_clone (mb5_metadata_get_release (metadata_release));
                         entity->type = MB_ENTITY_TYPE_ALBUM;
                         entity->is_red_line = FALSE;
                         node = g_node_new (entity);
@@ -235,7 +235,7 @@ et_musicbrainz_search_in_entity (enum MB_ENTITY_TYPE child_type,
                             size = mb5_recording_get_id (recording,
                                                          buf,
                                                          sizeof (buf));
-                            
+ 
                             metadata_recording = mb5_query_query (query, "recording",
                                                                   buf, "",
                                                                   1, param_names,
@@ -296,7 +296,7 @@ et_musicbrainz_search_in_entity (enum MB_ENTITY_TYPE child_type,
             break;
  
         case eQuery_ResourceNotFound:
-            g_set_error (error, ET_MB5_SEARCH_ERROR, 
+            g_set_error (error, ET_MB5_SEARCH_ERROR,
                          ET_MB5_SEARCH_ERROR_RESOURCE_NOT_FOUND,
                          error_message);
             break;
@@ -363,7 +363,7 @@ et_musicbrainz_search (gchar *string, enum MB_ENTITY_TYPE type, GNode *root,
                 int i;
                 Mb5ArtistList list;
                 list = mb5_metadata_get_artistlist (metadata);
-    
+ 
                 for (i = 0; i < mb5_artist_list_size (list); i++)
                 {
                     Mb5Artist artist;
@@ -469,7 +469,7 @@ et_musicbrainz_search (gchar *string, enum MB_ENTITY_TYPE type, GNode *root,
                                                             1, param_names,
                                                             param_values);
                         entity = g_malloc (sizeof (EtMbEntity));
-                        entity->entity = mb5_release_clone (mb5_metadata_get_release (metadata_release));    
            
+                        entity->entity = mb5_release_clone (mb5_metadata_get_release (metadata_release));
                         entity->type = MB_ENTITY_TYPE_ALBUM;
                         entity->is_red_line = FALSE;
                         node = g_node_new (entity);
@@ -601,7 +601,7 @@ et_musicbrainz_search (gchar *string, enum MB_ENTITY_TYPE type, GNode *root,
             break;
  
         case eQuery_ResourceNotFound:
-            g_set_error (error, ET_MB5_SEARCH_ERROR, 
+            g_set_error (error, ET_MB5_SEARCH_ERROR,
                          ET_MB5_SEARCH_ERROR_RESOURCE_NOT_FOUND,
                          error_message);
             break;
diff --git a/src/mbentityview.h b/src/mbentityview.h
index 3bc09d3..eab854f 100644
--- a/src/mbentityview.h
+++ b/src/mbentityview.h
@@ -51,7 +51,7 @@ G_BEGIN_DECLS
  * This widget is used to show data recieved from music brainz and helps to
  * navigate in it using breadcrumb widget.
  */
-typedef struct 
+typedef struct
 {
     GtkBox vbox;
 } EtMbEntityView;
diff --git a/src/musicbrainz_dialog.c b/src/musicbrainz_dialog.c
index 63a5bdb..b48187a 100644
--- a/src/musicbrainz_dialog.c
+++ b/src/musicbrainz_dialog.c
@@ -248,7 +248,7 @@ btn_manual_find_clicked (GtkWidget *btn, gpointer user_data)
         free_mb_tree (mb_tree_root);
         mb_tree_root = g_node_new (NULL);
     }
-  
+ 
     cb_manual_search = GTK_WIDGET (gtk_builder_get_object (builder,
                                                            "cbManualSearch"));
     cb_manual_search_in = GTK_WIDGET (gtk_builder_get_object (builder,
@@ -260,7 +260,7 @@ btn_manual_find_clicked (GtkWidget *btn, gpointer user_data)
     mb5_search_cancellable = g_cancellable_new ();
     gtk_statusbar_push (GTK_STATUSBAR (gtk_builder_get_object (builder, "statusbar")),
                         0, "Starting MusicBrainz Search");
-    async_result = g_simple_async_result_new (NULL, manual_search_callback, 
+    async_result = g_simple_async_result_new (NULL, manual_search_callback,
                                               thread_data,
                                               btn_manual_find_clicked);
     g_simple_async_result_run_in_thread (async_result,
@@ -362,7 +362,7 @@ tool_btn_refersh_clicked (GtkWidget *btn, gpointer user_data)
     {
         /* Current level is more than 1, refereshing means downloading an */
         /* entity's children */
-        
+ 
     }
 }
 
@@ -417,7 +417,7 @@ selected_find_callback (GObject *source, GAsyncResult *res,
     g_free (user_data);
 }
 
-static void 
+static void
 selected_find_thread_func (GSimpleAsyncResult *res, GObject *obj,
                            GCancellable *cancellable)
 {
@@ -512,7 +512,7 @@ bt_selected_find_clicked (GtkWidget *widget, gpointer user_data)
         {
             iter_list = g_list_prepend (iter_list,
                                         gtk_tree_iter_copy (&current_iter));
-        } 
+        }
         while (gtk_tree_model_iter_next(GTK_TREE_MODEL(tree_model),
                &current_iter));
 
@@ -541,7 +541,7 @@ bt_selected_find_clicked (GtkWidget *widget, gpointer user_data)
     thread_data = g_malloc (sizeof (SelectedFindThreadData));
     thread_data->hash_table = hash_table;
     mb5_search_cancellable = g_cancellable_new ();
-    async_result = g_simple_async_result_new (NULL, selected_find_callback, 
+    async_result = g_simple_async_result_new (NULL, selected_find_callback,
                                               thread_data,
                                               bt_selected_find_clicked);
     g_simple_async_result_run_in_thread (async_result,


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