[gnome-settings-daemon/gnome-3-6] updates: Remove useless finalize function
- From: Bastien Nocera <hadess src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-settings-daemon/gnome-3-6] updates: Remove useless finalize function
- Date: Fri, 8 Mar 2013 10:26:45 +0000 (UTC)
commit 30857368392045d3883cc804dba9ea200c2770c5
Author: Bastien Nocera <hadess hadess net>
Date: Fri Mar 8 11:19:54 2013 +0100
updates: Remove useless finalize function
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 42adfa1..2b81bad 100644
--- a/plugins/updates/gsd-updates-manager.c
+++ b/plugins/updates/gsd-updates-manager.c
@@ -71,7 +71,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);
static void emit_changed (GsdUpdatesManager *manager);
G_DEFINE_TYPE (GsdUpdatesManager, gsd_updates_manager, G_TYPE_OBJECT)
@@ -1536,7 +1535,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));
}
@@ -1547,21 +1545,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]