[atk/wip/no-redundant-decls] atkplug, atksocket: Fix -Wredundant-decls
- From: Iain Lane <iainl src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [atk/wip/no-redundant-decls] atkplug, atksocket: Fix -Wredundant-decls
- Date: Thu, 31 Jan 2019 09:52:09 +0000 (UTC)
commit a4eda40eba5754220c981e67f8f9c220a55976a0
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]