[easytag/wip/musicbrainz-support-merge: 49/75] Fixed Warning Messages
- From: David King <davidk src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [easytag/wip/musicbrainz-support-merge: 49/75] Fixed Warning Messages
- Date: Sun, 7 Sep 2014 21:07:34 +0000 (UTC)
commit a832f8e698961bac3f64dfb268087275d84f98ca
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 100644
--- 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 fd62c55..dd58f18 100644
--- 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]