[atk/gnome-3-32: 21/27] atkplug, atksocket: Fix -Wredundant-decls



commit d2b9633550577c258c78fa608f1139910d32a1c3
Author: Iain Lane <iainl gnome org>
Date:   Thu Jan 31 09:50:22 2019 +0000

    atkplug, atksocket: Fix -Wredundant-decls
    
    G_DEFINE_TYPE_WITH_CODE already gives declarations for the class_init
    function.

 atk/atkplug.c   | 2 --
 atk/atksocket.c | 1 -
 2 files changed, 3 deletions(-)
---
diff --git a/atk/atkplug.c b/atk/atkplug.c
index 4b26b47..ba6f122 100644
--- a/atk/atkplug.c
+++ b/atk/atkplug.c
@@ -34,8 +34,6 @@
 
 static void atk_component_interface_init (AtkComponentIface *iface);
 
-static void atk_plug_class_init (AtkPlugClass *klass);
-
 G_DEFINE_TYPE_WITH_CODE (AtkPlug, atk_plug, ATK_TYPE_OBJECT,
                          G_IMPLEMENT_INTERFACE (ATK_TYPE_COMPONENT, atk_component_interface_init))
 
diff --git a/atk/atksocket.c b/atk/atksocket.c
index a012f18..2517b52 100644
--- a/atk/atksocket.c
+++ b/atk/atksocket.c
@@ -52,7 +52,6 @@
  * functions will be implemented by the IPC layer.
  */
 
-static void atk_socket_class_init (AtkSocketClass *klass);
 static void atk_socket_finalize   (GObject *obj);
 
 static void atk_component_interface_init (AtkComponentIface *iface);


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