[easytag/wip/musicbrainz-support-merge: 2/29] Fixed Warning Messages
- From: David King <davidk src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [easytag/wip/musicbrainz-support-merge: 2/29] Fixed Warning Messages
- Date: Sun, 31 Aug 2014 18:55:41 +0000 (UTC)
commit 9bdd65dfb9d60df917219d22dae568f41982f3dc
Author: Abhinav <abhijangda hotmail com>
Date: Mon Aug 4 21:30:46 2014 +0530
Fixed Warning Messages
src/mb_search.c | 4 ++++
src/musicbrainz_dialog.c | 19 +------------------
2 files changed, 5 insertions(+), 18 deletions(-)
---
diff --git a/src/mb_search.c b/src/mb_search.c
index adc8313..160cd0e 100755
--- a/src/mb_search.c
+++ b/src/mb_search.c
@@ -30,6 +30,10 @@
/****************
* Declarations *
****************/
+
+#define SEARCH_LIMIT_STR "5"
+#define SEARCH_LIMIT_INT 5
+
static gchar *server = NULL;
static int port = 0;
diff --git a/src/musicbrainz_dialog.c b/src/musicbrainz_dialog.c
index edd3133..4788633 100755
--- a/src/musicbrainz_dialog.c
+++ b/src/musicbrainz_dialog.c
@@ -495,11 +495,7 @@ manual_search_thread_func (GSimpleAsyncResult *res, GObject *obj,
GError *error;
ManualSearchThreadData *thread_data;
gchar *status_msg;
- EtMusicBrainzDialogPrivate *mb_dialog_priv;
- EtMusicBrainzDialog *dlg;
-
- dlg = ET_MUSICBRAINZ_DIALOG (mbDialog);
- mb_dialog_priv = ET_MUSICBRAINZ_DIALOG_GET_PRIVATE (dlg);
+
error = NULL;
g_simple_async_result_set_op_res_gboolean (res, FALSE);
@@ -864,11 +860,7 @@ selected_find_thread_func (GSimpleAsyncResult *res, GObject *obj,
GList *iter;
SelectedFindThreadData *thread_data;
GError *error;
- EtMusicBrainzDialog *dlg;
- EtMusicBrainzDialogPrivate *mb_dialog_priv;
- dlg = ET_MUSICBRAINZ_DIALOG (mbDialog);
- mb_dialog_priv = ET_MUSICBRAINZ_DIALOG_GET_PRIVATE (dlg);
g_simple_async_result_set_op_res_gboolean (res, FALSE);
error = NULL;
thread_data = g_async_result_get_user_data (G_ASYNC_RESULT (res));
@@ -1149,12 +1141,8 @@ discid_search_thread_func (GSimpleAsyncResult *res, GObject *obj,
GError *error;
DiscId *disc;
gchar *discid;
- EtMusicBrainzDialogPrivate *mb_dialog_priv;
- EtMusicBrainzDialog *dlg;
DiscIDSearchThreadData *thread_data;
- dlg = ET_MUSICBRAINZ_DIALOG (mbDialog);
- mb_dialog_priv = ET_MUSICBRAINZ_DIALOG_GET_PRIVATE (dlg);
error = NULL;
disc = discid_new ();
g_simple_async_result_set_op_res_gboolean (G_SIMPLE_ASYNC_RESULT (res),
@@ -1308,13 +1296,8 @@ freedbid_search_thread_func (GSimpleAsyncResult *res, GObject *obj,
GCancellable *cancellable)
{
GError *error;
- gchar *freedbid;
- EtMusicBrainzDialogPrivate *mb_dialog_priv;
- EtMusicBrainzDialog *dlg;
FreeDBIDSearchThreadData *thread_data;
- dlg = ET_MUSICBRAINZ_DIALOG (mbDialog);
- mb_dialog_priv = ET_MUSICBRAINZ_DIALOG_GET_PRIVATE (dlg);
error = NULL;
g_simple_async_result_set_op_res_gboolean (G_SIMPLE_ASYNC_RESULT (res),
FALSE);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]