[farsight2/master] Remove empty structures, they're only valid in C99

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


---
 gst-libs/gst/farsight/fs-base-conference.c |    2 ++
 gst-libs/gst/farsight/fs-session.c         |    6 ++++--
 gst-libs/gst/farsight/fs-stream.c          |    6 ++++--
 gst/fsrtpconference/fs-rtp-participant.c   |    7 ++++---
 4 files changed, 14 insertions(+), 7 deletions(-)

diff --git a/gst-libs/gst/farsight/fs-base-conference.c b/gst-libs/gst/farsight/fs-base-conference.c
index b4f8ac6..6141737 100644
--- a/gst-libs/gst/farsight/fs-base-conference.c
+++ b/gst-libs/gst/farsight/fs-base-conference.c
@@ -55,12 +55,14 @@ enum
   PROP_0
 };
 
+/*
 #define FS_BASE_CONFERENCE_GET_PRIVATE(obj) \
   (G_TYPE_INSTANCE_GET_PRIVATE ((obj), FS_TYPE_BASE_CONFERENCE, FsBaseConferencePrivate))
 
 struct _FsBaseConferencePrivate
 {
 };
+*/
 
 GST_BOILERPLATE_WITH_INTERFACE (
     FsBaseConference, fs_base_conference,
diff --git a/gst-libs/gst/farsight/fs-session.c b/gst-libs/gst/farsight/fs-session.c
index 392f21c..0e5d9b9 100644
--- a/gst-libs/gst/farsight/fs-session.c
+++ b/gst-libs/gst/farsight/fs-session.c
@@ -88,14 +88,16 @@ enum
   PROP_CURRENT_SEND_CODEC
 };
 
+/*
 struct _FsSessionPrivate
 {
 };
 
-G_DEFINE_ABSTRACT_TYPE(FsSession, fs_session, G_TYPE_OBJECT);
-
 #define FS_SESSION_GET_PRIVATE(o)  \
    (G_TYPE_INSTANCE_GET_PRIVATE ((o), FS_TYPE_SESSION, FsSessionPrivate))
+*/
+
+G_DEFINE_ABSTRACT_TYPE(FsSession, fs_session, G_TYPE_OBJECT);
 
 static void fs_session_get_property (GObject *object,
                                      guint prop_id,
diff --git a/gst-libs/gst/farsight/fs-stream.c b/gst-libs/gst/farsight/fs-stream.c
index 511aaeb..1963195 100644
--- a/gst-libs/gst/farsight/fs-stream.c
+++ b/gst-libs/gst/farsight/fs-stream.c
@@ -126,14 +126,16 @@ enum
   PROP_STREAM_TRANSMITTER
 };
 
+/*
 struct _FsStreamPrivate
 {
 };
 
-G_DEFINE_ABSTRACT_TYPE(FsStream, fs_stream, G_TYPE_OBJECT);
-
 #define FS_STREAM_GET_PRIVATE(o)  \
    (G_TYPE_INSTANCE_GET_PRIVATE ((o), FS_TYPE_STREAM, FsStreamPrivate))
+*/
+
+G_DEFINE_ABSTRACT_TYPE(FsStream, fs_stream, G_TYPE_OBJECT);
 
 static void fs_stream_get_property (GObject *object,
                                     guint prop_id,
diff --git a/gst/fsrtpconference/fs-rtp-participant.c b/gst/fsrtpconference/fs-rtp-participant.c
index 386826c..b94eede 100644
--- a/gst/fsrtpconference/fs-rtp-participant.c
+++ b/gst/fsrtpconference/fs-rtp-participant.c
@@ -47,16 +47,17 @@ enum
   PROP_0,
 };
 
+G_DEFINE_TYPE(FsRtpParticipant, fs_rtp_participant, FS_TYPE_PARTICIPANT);
+
+/*
 struct _FsRtpParticipantPrivate
 {
 };
 
-
-G_DEFINE_TYPE(FsRtpParticipant, fs_rtp_participant, FS_TYPE_PARTICIPANT);
-
 #define FS_RTP_PARTICIPANT_GET_PRIVATE(o)  \
    (G_TYPE_INSTANCE_GET_PRIVATE ((o), FS_TYPE_PARTICIPANT, \
    FsRtpParticipantPrivate))
+*/
 
 static GObjectClass *parent_class = NULL;
 // static guint signals[LAST_SIGNAL] = { 0 };
-- 
1.5.6.5




More information about the farsight-commits mailing list