[farsight2/master] Put the right parent for FsRtpSession

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


---
 gst/fsrtpconference/fs-rtp-session.c |    4 ++--
 gst/fsrtpconference/fs-rtp-session.h |    4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/gst/fsrtpconference/fs-rtp-session.c b/gst/fsrtpconference/fs-rtp-session.c
index 4f60a2a..70c58a9 100644
--- a/gst/fsrtpconference/fs-rtp-session.c
+++ b/gst/fsrtpconference/fs-rtp-session.c
@@ -206,8 +206,8 @@ fs_rtp_session_get_type (void)
       (GInstanceInitFunc) fs_rtp_session_init
     };
 
-    type = g_type_register_static (G_TYPE_OBJECT,
-        "FsRtpSession", &info, G_TYPE_FLAG_ABSTRACT);
+    type = g_type_register_static (FS_TYPE_SESSION,
+        "FsRtpSession", &info, 0);
   }
 
   return type;
diff --git a/gst/fsrtpconference/fs-rtp-session.h b/gst/fsrtpconference/fs-rtp-session.h
index d096d5e..7bf7a62 100644
--- a/gst/fsrtpconference/fs-rtp-session.h
+++ b/gst/fsrtpconference/fs-rtp-session.h
@@ -54,11 +54,11 @@ typedef struct _FsRtpSessionPrivate FsRtpSessionPrivate;
 
 struct _FsRtpSessionClass
 {
-  FsSession parent_class;
+  FsSessionClass parent_class;
 };
 
 /**
- * FsSession:
+ * FsRtpSession:
  *
  */
 struct _FsRtpSession
-- 
1.5.6.5




More information about the farsight-commits mailing list