[easytag/wip/ax-compile-warnings: 7/12] Avoid old-style function declaration



commit eefc886f42de76145e0f8ada82410329b6f3e3e1
Author: David King <amigadave amigadave com>
Date:   Fri Jan 30 13:50:17 2015 +0000

    Avoid old-style function declaration

 src/application.c |    2 +-
 src/log.c         |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/application.c b/src/application.c
index 9eebd4e..05bf14c 100644
--- a/src/application.c
+++ b/src/application.c
@@ -628,7 +628,7 @@ et_application_class_init (EtApplicationClass *klass)
  * Returns: a new #EtApplication
  */
 EtApplication *
-et_application_new ()
+et_application_new (void)
 {
     return g_object_new (ET_TYPE_APPLICATION, "application-id",
                          "org.gnome.EasyTAG", "flags",
diff --git a/src/log.c b/src/log.c
index 324213b..6f6f00a 100644
--- a/src/log.c
+++ b/src/log.c
@@ -184,7 +184,7 @@ et_log_area_init (EtLogArea *self)
 
 
 GtkWidget *
-et_log_area_new ()
+et_log_area_new (void)
 {
     return g_object_new (ET_TYPE_LOG_AREA, NULL);
 }


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]