[easytag/wip/musicbrainz-support-appwin-merge: 27/58] Fixed Warning Messages
- From: Abhinav Jangda <abhijangda src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [easytag/wip/musicbrainz-support-appwin-merge: 27/58] Fixed Warning Messages
- Date: Fri, 22 Aug 2014 16:35:36 +0000 (UTC)
commit 36c455b7035d0bcf88f0862d7afc3b1b9b3abb10
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 4e1cdae..27f6ddb 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 8be07c8..afc981e 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]