[farsight2/master] add private

Olivier Crête olivier.crete at collabora.co.uk
Tue Dec 23 15:24:34 PST 2008


---
 fs-upnp-simple-igd.c |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/fs-upnp-simple-igd.c b/fs-upnp-simple-igd.c
index f29385d..e40c01c 100644
--- a/fs-upnp-simple-igd.c
+++ b/fs-upnp-simple-igd.c
@@ -83,7 +83,9 @@ static void fs_upnp_simple_igd_gather_proxy (FsUpnpSimpleIgd *self,
 static void
 fs_upnp_simple_igd_class_init (FsUpnpSimpleIgdClass *klass)
 {
- GObjectClass *gobject_class = G_OBJECT_CLASS (klass);
+  GObjectClass *gobject_class = G_OBJECT_CLASS (klass);
+
+  g_type_class_add_private (klass, sizeof (FsUpnpSimpleIgdPrivate));
 
   gobject_class->dispose = fs_upnp_simple_igd_dispose;
   gobject_class->finalize = fs_upnp_simple_igd_finalize;
-- 
1.5.6.5




More information about the farsight-commits mailing list