diff options
author | Iain Lane <iainl@gnome.org> | 2019-01-31 09:50:22 +0000 |
---|---|---|
committer | Alejandro PiƱeiro <apinheiro@igalia.com> | 2019-03-09 11:58:15 +0100 |
commit | d2b9633550577c258c78fa608f1139910d32a1c3 (patch) | |
tree | 7aedaf55b263499cd9917aebe4a8b7ef02581a46 | |
parent | ff0cec2cb4943269f7285437576ff2beaa19b0ec (diff) | |
download | atk-d2b9633550577c258c78fa608f1139910d32a1c3.tar.gz |
atkplug, atksocket: Fix -Wredundant-decls
G_DEFINE_TYPE_WITH_CODE already gives declarations for the class_init
function.
-rw-r--r-- | atk/atkplug.c | 2 | ||||
-rw-r--r-- | atk/atksocket.c | 1 |
2 files changed, 0 insertions, 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); |