[farsight2/master] Declare our base classes as G_TYPE_FLAG_ABSTRACT

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


---
 gst-libs/gst/farsight/fs-session.c            |    2 +-
 gst-libs/gst/farsight/fs-stream-transmitter.c |    2 +-
 gst-libs/gst/farsight/fs-stream.c             |    2 +-
 gst-libs/gst/farsight/fs-transmitter.c        |    2 +-
 4 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/gst-libs/gst/farsight/fs-session.c b/gst-libs/gst/farsight/fs-session.c
index bae7e8e..6f2835e 100644
--- a/gst-libs/gst/farsight/fs-session.c
+++ b/gst-libs/gst/farsight/fs-session.c
@@ -112,7 +112,7 @@ fs_session_get_type (void)
     };
 
     type = g_type_register_static (G_TYPE_OBJECT,
-        "FsSession", &info, 0);
+        "FsSession", &info, G_TYPE_FLAG_ABSTRACT);
   }
 
   return type;
diff --git a/gst-libs/gst/farsight/fs-stream-transmitter.c b/gst-libs/gst/farsight/fs-stream-transmitter.c
index 204eae3..1a9e062 100644
--- a/gst-libs/gst/farsight/fs-stream-transmitter.c
+++ b/gst-libs/gst/farsight/fs-stream-transmitter.c
@@ -105,7 +105,7 @@ fs_stream_transmitter_get_type (void)
     };
 
     type = g_type_register_static (G_TYPE_OBJECT,
-        "FsStreamTransmitter", &info, 0);
+        "FsStreamTransmitter", &info, G_TYPE_FLAG_ABSTRACT);
   }
 
   return type;
diff --git a/gst-libs/gst/farsight/fs-stream.c b/gst-libs/gst/farsight/fs-stream.c
index f4bfb09..a42c998 100644
--- a/gst-libs/gst/farsight/fs-stream.c
+++ b/gst-libs/gst/farsight/fs-stream.c
@@ -116,7 +116,7 @@ fs_stream_get_type (void)
     };
 
     type = g_type_register_static (G_TYPE_OBJECT,
-        "FsStream", &info, 0);
+        "FsStream", &info, G_TYPE_FLAG_ABSTRACT);
   }
 
   return type;
diff --git a/gst-libs/gst/farsight/fs-transmitter.c b/gst-libs/gst/farsight/fs-transmitter.c
index 107fb96..785b221 100644
--- a/gst-libs/gst/farsight/fs-transmitter.c
+++ b/gst-libs/gst/farsight/fs-transmitter.c
@@ -102,7 +102,7 @@ fs_transmitter_get_type (void)
     };
 
     type = g_type_register_static (G_TYPE_OBJECT,
-        "FsTransmitter", &info, 0);
+        "FsTransmitter", &info, G_TYPE_FLAG_ABSTRACT);
   }
 
   return type;
-- 
1.5.6.5




More information about the farsight-commits mailing list