[gnome-user-share] share-extension: remove empty finalize method
- From: Cosimo Cecchi <cosimoc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-user-share] share-extension: remove empty finalize method
- Date: Fri, 1 Jun 2012 14:46:16 +0000 (UTC)
commit 48a3b06deb29042731350fd24815e9d56ad1df4a
Author: Cosimo Cecchi <cosimoc gnome org>
Date: Mon May 21 14:40:37 2012 -0400
share-extension: remove empty finalize method
https://bugzilla.gnome.org/show_bug.cgi?id=676515
src/share-extension.c | 20 --------------------
1 files changed, 0 insertions(+), 20 deletions(-)
---
diff --git a/src/share-extension.c b/src/share-extension.c
index 251b082..74b5f0a 100644
--- a/src/share-extension.c
+++ b/src/share-extension.c
@@ -59,9 +59,6 @@ struct _NautilusUserSharePrivate
static GType nautilus_user_share_get_type (void);
static void nautilus_user_share_register_type (GTypeModule *module);
-static GObjectClass *parent_class;
-
-
static void
launch_process (char **argv, GtkWindow *parent)
{
@@ -181,30 +178,13 @@ nautilus_user_share_instance_init (NautilusUserShare *share)
share->priv = NAUTILUS_USER_SHARE_GET_PRIVATE (share);
}
-static void
-nautilus_user_share_finalize (GObject *object)
-{
- NautilusUserShare *share;
-
- g_return_if_fail (object != NULL);
- g_return_if_fail (NAUTILUS_IS_USER_SHARE (object));
-
- share = NAUTILUS_USER_SHARE (object);
-
- g_return_if_fail (share->priv != NULL);
-
- G_OBJECT_CLASS (parent_class)->finalize (object);
}
static void
nautilus_user_share_class_init (NautilusUserShareClass *klass)
{
- GObjectClass *object_class = G_OBJECT_CLASS (klass);
-
parent_class = g_type_class_peek_parent (klass);
- object_class->finalize = nautilus_user_share_finalize;
-
g_type_class_add_private (klass, sizeof (NautilusUserSharePrivate));
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]