[gnome-bluetooth] [PATCH 12/12] trivial: remove unused declaration
Ladislav Michl
ladis at linux-mips.org
Sun Jan 15 04:49:27 EST 2017
Signed-off-by: Ladislav Michl <ladis at linux-mips.org>
---
src/phonemgr-object.c | 10 ++--------
1 file changed, 2 insertions(+), 8 deletions(-)
diff --git a/src/phonemgr-object.c b/src/phonemgr-object.c
index 08ee5f4..d7caa98 100644
--- a/src/phonemgr-object.c
+++ b/src/phonemgr-object.c
@@ -1,5 +1,5 @@
/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
-/*
+/*
* Copyright (C) 2007 Bastien Nocera <hadess at hadess.net>
*
* This program is free software; you can redistribute it and/or modify
@@ -33,8 +33,6 @@ enum {
LAST_SIGNAL
};
-static void phonemgr_object_init (PhonemgrObject *o);
-
static int phonemgr_object_signals[LAST_SIGNAL] = { 0 } ;
#define PHONEMGR_DBUS_SERVICE "org.gnome.phone"
@@ -46,10 +44,6 @@ G_DEFINE_TYPE (PhonemgrObject, phonemgr_object, G_TYPE_OBJECT)
static void
phonemgr_object_class_init (PhonemgrObjectClass *klass)
{
- GObjectClass *object_class;
-
- object_class = (GObjectClass*) klass;
-
phonemgr_object_signals[NUMBER_BATTERIES_CHANGED] =
g_signal_new ("number-batteries-changed",
G_OBJECT_CLASS_TYPE (klass),
@@ -174,7 +168,7 @@ phonemgr_object_register (DBusGConnection *connection,
g_object_unref (G_OBJECT (bus_proxy));
/* already running */
- if (request_name_result != DBUS_REQUEST_NAME_REPLY_PRIMARY_OWNER) {
+ if (request_name_result != DBUS_REQUEST_NAME_REPLY_PRIMARY_OWNER) {
return FALSE;
}
--
2.11.0
More information about the gnome-bluetooth
mailing list