changeset 26481:341864c1d1f9

Hide the easy structs in media.h.
author Mike Ruprecht <maiku@soc.pidgin.im>
date Wed, 01 Apr 2009 18:39:23 +0000
parents 04a9e8435bfb
children 84d09c6499f1
files libpurple/media.c libpurple/media.h
diffstat 2 files changed, 13 insertions(+), 13 deletions(-) [+]
line wrap: on
line diff
--- a/libpurple/media.c	Wed Apr 01 05:24:19 2009 +0000
+++ b/libpurple/media.c	Wed Apr 01 18:39:23 2009 +0000
@@ -46,6 +46,19 @@
 /** @copydoc _PurpleMediaStream */
 typedef struct _PurpleMediaStream PurpleMediaStream;
 
+/** The media class */
+struct _PurpleMediaClass
+{
+	GObjectClass parent_class;     /**< The parent class. */
+};
+
+/** The media class's private data */
+struct _PurpleMedia
+{
+	GObject parent;                /**< The parent of this object. */
+	PurpleMediaPrivate *priv;      /**< The private data of this object. */
+};
+
 struct _PurpleMediaSession
 {
 	gchar *id;
--- a/libpurple/media.h	Wed Apr 01 05:24:19 2009 +0000
+++ b/libpurple/media.h	Wed Apr 01 18:39:23 2009 +0000
@@ -117,19 +117,6 @@
 	PURPLE_MEDIA_NETWORK_PROTOCOL_TCP,
 } PurpleMediaNetworkProtocol;
 
-/** The media class */
-struct _PurpleMediaClass
-{
-	GObjectClass parent_class;     /**< The parent class. */
-};
-
-/** The media class's private data */
-struct _PurpleMedia
-{
-	GObject parent;                /**< The parent of this object. */
-	PurpleMediaPrivate *priv;      /**< The private data of this object. */
-};
-
 struct _PurpleMediaCandidate
 {
 	const gchar *foundation;