[gnome-user-share] share-extension: remove empty private structure
- From: Cosimo Cecchi <cosimoc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-user-share] share-extension: remove empty private structure
- Date: Fri, 1 Jun 2012 14:46:21 +0000 (UTC)
commit aa18c570a147b1488507aaff3a3018485a210a24
Author: Cosimo Cecchi <cosimoc gnome org>
Date: Mon May 21 14:40:58 2012 -0400
share-extension: remove empty private structure
https://bugzilla.gnome.org/show_bug.cgi?id=676515
src/share-extension.c | 13 -------------
1 files changed, 0 insertions(+), 13 deletions(-)
---
diff --git a/src/share-extension.c b/src/share-extension.c
index 74b5f0a..6a1b73f 100644
--- a/src/share-extension.c
+++ b/src/share-extension.c
@@ -37,12 +37,9 @@
#define NAUTILUS_USER_SHARE(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), NAUTILUS_TYPE_USER_SHARE, NautilusUserShare))
#define NAUTILUS_IS_USER_SHARE(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), NAUTILUS_TYPE_USER_SHARE))
-typedef struct _NautilusUserSharePrivate NautilusUserSharePrivate;
-
typedef struct
{
GObject parent_slot;
- NautilusUserSharePrivate *priv;
} NautilusUserShare;
typedef struct
@@ -50,12 +47,6 @@ typedef struct
GObjectClass parent_slot;
} NautilusUserShareClass;
-#define NAUTILUS_USER_SHARE_GET_PRIVATE(o) (G_TYPE_INSTANCE_GET_PRIVATE ((o), NAUTILUS_TYPE_USER_SHARE, NautilusUserSharePrivate))
-
-struct _NautilusUserSharePrivate
-{
-};
-
static GType nautilus_user_share_get_type (void);
static void nautilus_user_share_register_type (GTypeModule *module);
@@ -175,17 +166,13 @@ nautilus_user_share_location_widget_provider_iface_init (NautilusLocationWidgetP
static void
nautilus_user_share_instance_init (NautilusUserShare *share)
{
- share->priv = NAUTILUS_USER_SHARE_GET_PRIVATE (share);
-}
}
static void
nautilus_user_share_class_init (NautilusUserShareClass *klass)
{
- parent_class = g_type_class_peek_parent (klass);
- g_type_class_add_private (klass, sizeof (NautilusUserSharePrivate));
}
static GType share_type = 0;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]