pidgin.vv: 6b1edb2d: Remove purple_media_element_get_device.

maiku at soc.pidgin.im maiku at soc.pidgin.im
Sun Mar 22 23:01:13 EDT 2009


-----------------------------------------------------------------
Revision: 6b1edb2d4894609880c33e4ba13feccc792f91b0
Ancestor: 795a125f81f332aabaccd4892bf8c2cdef31946c
Author: maiku at soc.pidgin.im
Date: 2009-03-22T22:14:16
Branch: im.pidgin.pidgin.vv
URL: http://d.pidgin.im/viewmtn/revision/info/6b1edb2d4894609880c33e4ba13feccc792f91b0

Modified files:
        libpurple/media.c libpurple/media.h

ChangeLog: 

Remove purple_media_element_get_device.

-------------- next part --------------
============================================================
--- libpurple/media.c	067041daa3d9677b128bc1144252f7842ae2bbd6
+++ libpurple/media.c	f9edeb564695b19827e22f0a3c1f87c5d324ef08
@@ -1471,14 +1471,6 @@ purple_media_get_devices(const gchar *pl
 	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)
 {
============================================================
--- libpurple/media.h	4c8a04936c2b5f7a965bd9ffd79f24511619d2bf
+++ libpurple/media.h	4758b15a4cc300dd4c1f355c3ee72771e15316fb
@@ -436,15 +436,6 @@ GList *purple_media_get_devices(const gc
 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.


More information about the Commits mailing list