changeset 26422:5e605a489d53

Remove purple_media_element_get_device.
author Mike Ruprecht <maiku@soc.pidgin.im>
date Sun, 22 Mar 2009 22:14:16 +0000
parents b2e290e76998
children d01fb18be4d2
files libpurple/media.c libpurple/media.h
diffstat 2 files changed, 0 insertions(+), 17 deletions(-) [+]
line wrap: on
line diff
--- a/libpurple/media.c	Sun Mar 22 21:52:20 2009 +0000
+++ b/libpurple/media.c	Sun Mar 22 22:14:16 2009 +0000
@@ -1471,14 +1471,6 @@
 	return ret;
 }
 
-gchar *
-purple_media_element_get_device(GstElement *element)
-{
-	gchar *device;
-	g_object_get(G_OBJECT(element), "device", &device, NULL);
-	return device;
-}
-
 void
 purple_media_audio_init_src(GstElement **sendbin, GstElement **sendlevel)
 {
--- a/libpurple/media.h	Sun Mar 22 21:52:20 2009 +0000
+++ b/libpurple/media.h	Sun Mar 22 22:14:16 2009 +0000
@@ -436,15 +436,6 @@
 GList *purple_media_get_devices(const gchar *plugin);
 
 /**
- * Gets the device the plugin is currently set to.
- *
- * @param element The plugin to retrieve the device from.
- *
- * @return The device retrieved.
- */
-gchar *purple_media_element_get_device(GstElement *element);
-
-/**
  * Creates a default audio source.
  *
  * @param sendbin Set to the newly created audio source.