[easytag/wip/musicbrainz-support-merge: 13/75] Removed Trailing Whitespaces
- From: David King <davidk src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [easytag/wip/musicbrainz-support-merge: 13/75] Removed Trailing Whitespaces
- Date: Fri, 29 Aug 2014 22:22:44 +0000 (UTC)
commit cfc8051d231de8cdafa2eec8ad601999d7cab86c
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 | 10 +++++-----
3 files changed, 12 insertions(+), 12 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 4501a0f..d4958ec 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 6362909..fb00c5c 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,
@@ -416,7 +416,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)
{
@@ -513,7 +513,7 @@ bt_selected_find_clicked (GtkWidget *widget, gpointer user_data)
{
iter_list = g_list_prepend (iter_list,
gtk_tree_iter_copy (¤t_iter));
- }
+ }
while (gtk_tree_model_iter_next(GTK_TREE_MODEL(tree_model),
¤t_iter));
@@ -543,7 +543,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]