[easytag/wip/application-window: 1/73] Fix return type of init idle handler
- From: David King <davidk src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [easytag/wip/application-window: 1/73] Fix return type of init idle handler
- Date: Tue, 22 Jul 2014 22:01:13 +0000 (UTC)
commit 31e4167e9aab1229cf7b2ec6e9352232b1a84be7
Author: David King <amigadave amigadave com>
Date: Sat Jul 19 21:09:57 2014 +0100
Fix return type of init idle handler
The return type of a GSourceFunc is a gboolean.
src/easytag.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/src/easytag.c b/src/easytag.c
index 915bf88..89a6bbe 100644
--- a/src/easytag.c
+++ b/src/easytag.c
@@ -138,7 +138,7 @@ static gint Save_List_Of_Files (GList *etfilelist,
gboolean force_saving_files);
static gint Delete_Selected_Files_With_Answer (void);
-static void Init_Load_Default_Dir (void);
+static gboolean Init_Load_Default_Dir (void);
static void EasyTAG_Exit (void);
static gboolean et_rename_file (const char *old_filepath,
const char *new_filepath, GError **error);
@@ -4240,7 +4240,7 @@ void Clear_Header_Fields (void)
* Load the default directory when the user interface is completely displayed
* to avoid bad visualization effect at startup.
*/
-static void
+static gboolean
Init_Load_Default_Dir (void)
{
//ETCore->ETFileList = NULL;
@@ -4264,7 +4264,7 @@ Init_Load_Default_Dir (void)
// To set sensivity of buttons in the case if the default directory is invalid
Update_Command_Buttons_Sensivity();
- g_source_remove(idle_handler_id);
+ return G_SOURCE_REMOVE;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]