diff libpurple/media.h @ 25737:4b8c64deac5e

Simplify device API. Use gchar* instead of GValue.
author Mike Ruprecht <maiku@soc.pidgin.im>
date Wed, 27 Aug 2008 05:52:14 +0000
parents e4261bc6788d
children 943a09762d95
line wrap: on
line diff
--- a/libpurple/media.h	Wed Aug 27 00:12:57 2008 +0000
+++ b/libpurple/media.h	Wed Aug 27 05:52:14 2008 +0000
@@ -293,7 +293,7 @@
  * @return The name of the device.
  */
 gchar *purple_media_get_device_name(GstElement *element,
-				    GValue *device);
+				    const gchar *device);
 
 /**
  * Enumerates a list of devices.
@@ -310,7 +310,7 @@
  * @param element The plugin to set the device on.
  * @param device The device to set the plugin to.
  */
-void purple_media_element_set_device(GstElement *element, GValue *device);
+void purple_media_element_set_device(GstElement *element, const gchar *device);
 
 /**
  * Sets the device from the given name.
@@ -328,7 +328,7 @@
  *
  * @return The device retrieved.
  */
-GValue *purple_media_element_get_device(GstElement *element);
+gchar *purple_media_element_get_device(GstElement *element);
 
 /**
  * Creates an element from a factory name.