diff options
author | Bastien Nocera <hadess@hadess.net> | 2013-10-11 09:32:30 +0200 |
---|---|---|
committer | Bastien Nocera <hadess@hadess.net> | 2013-10-14 10:36:17 +0200 |
commit | 7007fea309d211603f4815d45f950becf1a7dec6 (patch) | |
tree | 0f1eec7fe5001e13aa49c87016614d39d0b4178a /src/freebsd/up-device-supply.c | |
parent | f926ee488fd3ec49c61525b86978fba136759baf (diff) | |
download | upower-7007fea309d211603f4815d45f950becf1a7dec6.tar.gz |
freebsd: Remove useless finalize
It was just chaining up.
Diffstat (limited to 'src/freebsd/up-device-supply.c')
-rw-r--r-- | src/freebsd/up-device-supply.c | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/src/freebsd/up-device-supply.c b/src/freebsd/up-device-supply.c index d318bd6..54c21a3 100644 --- a/src/freebsd/up-device-supply.c +++ b/src/freebsd/up-device-supply.c @@ -497,22 +497,6 @@ up_device_supply_init (UpDeviceSupply *supply) } /** - * up_device_supply_finalize: - **/ -static void -up_device_supply_finalize (GObject *object) -{ - UpDeviceSupply *supply; - - g_return_if_fail (object != NULL); - g_return_if_fail (UP_IS_DEVICE_SUPPLY (object)); - - supply = UP_DEVICE_SUPPLY (object); - - G_OBJECT_CLASS (up_device_supply_parent_class)->finalize (object); -} - -/** * up_device_supply_class_init: **/ static void @@ -521,7 +505,6 @@ up_device_supply_class_init (UpDeviceSupplyClass *klass) GObjectClass *object_class = G_OBJECT_CLASS (klass); UpDeviceClass *device_class = UP_DEVICE_CLASS (klass); - object_class->finalize = up_device_supply_finalize; device_class->get_on_battery = up_device_supply_get_on_battery; device_class->get_low_battery = up_device_supply_get_low_battery; device_class->get_online = up_device_supply_get_online; |