changeset 26482:84d09c6499f1

Hide the easy structs in mediamanager.c.
author Mike Ruprecht <maiku@soc.pidgin.im>
date Wed, 01 Apr 2009 19:01:31 +0000
parents 341864c1d1f9
children b4621f3c276e
files libpurple/mediamanager.c libpurple/mediamanager.h
diffstat 2 files changed, 16 insertions(+), 15 deletions(-) [+]
line wrap: on
line diff
--- a/libpurple/mediamanager.c	Wed Apr 01 18:39:23 2009 +0000
+++ b/libpurple/mediamanager.c	Wed Apr 01 19:01:31 2009 +0000
@@ -38,8 +38,24 @@
 #include <gst/farsight/fs-conference-iface.h>
 #include <gst/interfaces/xoverlay.h>
 
+/** @copydoc _PurpleMediaManagerPrivate */
+typedef struct _PurpleMediaManagerPrivate PurpleMediaManagerPrivate;
+/** @copydoc _PurpleMediaOutputWindow */
 typedef struct _PurpleMediaOutputWindow PurpleMediaOutputWindow;
 
+/** The media manager class. */
+struct _PurpleMediaManagerClass
+{
+	GObjectClass parent_class;       /**< The parent class. */
+};
+
+/** The media manager's data. */
+struct _PurpleMediaManager
+{
+	GObject parent;                  /**< The parent of this manager. */
+	PurpleMediaManagerPrivate *priv; /**< Private data for the manager. */
+};
+
 struct _PurpleMediaOutputWindow
 {
 	gulong id;
--- a/libpurple/mediamanager.h	Wed Apr 01 18:39:23 2009 +0000
+++ b/libpurple/mediamanager.h	Wed Apr 01 19:01:31 2009 +0000
@@ -46,21 +46,6 @@
 typedef struct _PurpleMediaManager PurpleMediaManager;
 /** @copydoc _PurpleMediaManagerClass */
 typedef struct _PurpleMediaManagerClass PurpleMediaManagerClass;
-/** @copydoc _PurpleMediaManagerPrivate */
-typedef struct _PurpleMediaManagerPrivate PurpleMediaManagerPrivate;
-
-/** The media manager class. */
-struct _PurpleMediaManagerClass
-{
-	GObjectClass parent_class;       /**< The parent class. */
-};
-
-/** The media manager's data. */
-struct _PurpleMediaManager
-{
-	GObject parent;                  /**< The parent of this manager. */
-	PurpleMediaManagerPrivate *priv; /**< Private data for the manager. */
-};
 
 #ifdef __cplusplus
 extern "C" {