[easytag/wip/musicbrainz-support-merge: 45/75] Fixed Warning Messages
- From: David King <davidk src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [easytag/wip/musicbrainz-support-merge: 45/75] Fixed Warning Messages
- Date: Sat, 30 Aug 2014 07:49:46 +0000 (UTC)
commit 620492620dcceb64f107552bf96f70e800018ae4
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 3ac912c..614780e 100755
--- a/src/musicbrainz_dialog.c
+++ b/src/musicbrainz_dialog.c
@@ -482,11 +482,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);
@@ -851,11 +847,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));
@@ -1136,12 +1128,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),
@@ -1295,13 +1283,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]