[gnome-settings-daemon/gnome-3-8] updates: Remove useless finalize function
- From: Bastien Nocera <hadess src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-settings-daemon/gnome-3-8] updates: Remove useless finalize function
- Date: Fri, 8 Mar 2013 10:26:35 +0000 (UTC)
commit f8921883116023df5ef850ca59b5d47833f2dab5
Author: Bastien Nocera <hadess hadess net>
Date: Fri Mar 8 11:19:54 2013 +0100
updates: Remove useless finalize function
Conflicts:
plugins/updates/gsd-updates-manager.c
plugins/updates/gsd-updates-manager.c | 17 -----------------
1 files changed, 0 insertions(+), 17 deletions(-)
---
diff --git a/plugins/updates/gsd-updates-manager.c b/plugins/updates/gsd-updates-manager.c
index 7b8943d..bb242ab 100644
--- a/plugins/updates/gsd-updates-manager.c
+++ b/plugins/updates/gsd-updates-manager.c
@@ -69,7 +69,6 @@ struct GsdUpdatesManagerPrivate
static void gsd_updates_manager_class_init (GsdUpdatesManagerClass *klass);
static void gsd_updates_manager_init (GsdUpdatesManager *updates_manager);
-static void gsd_updates_manager_finalize (GObject *object);
G_DEFINE_TYPE (GsdUpdatesManager, gsd_updates_manager, G_TYPE_OBJECT)
@@ -1429,7 +1428,6 @@ gsd_updates_manager_class_init (GsdUpdatesManagerClass *klass)
object_class->constructor = gsd_updates_manager_constructor;
object_class->dispose = gsd_updates_manager_dispose;
- object_class->finalize = gsd_updates_manager_finalize;
g_type_class_add_private (klass, sizeof (GsdUpdatesManagerPrivate));
}
@@ -1440,21 +1438,6 @@ gsd_updates_manager_init (GsdUpdatesManager *manager)
manager->priv = GSD_UPDATES_MANAGER_GET_PRIVATE (manager);
}
-static void
-gsd_updates_manager_finalize (GObject *object)
-{
- GsdUpdatesManager *updates_manager;
-
- g_return_if_fail (object != NULL);
- g_return_if_fail (GSD_IS_UPDATES_MANAGER (object));
-
- updates_manager = GSD_UPDATES_MANAGER (object);
-
- g_return_if_fail (updates_manager->priv);
-
- G_OBJECT_CLASS (gsd_updates_manager_parent_class)->finalize (object);
-}
-
GsdUpdatesManager *
gsd_updates_manager_new (void)
{
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]