pidgin.vv: 9c99cb92: Remove purple_media_get_overall_type.
maiku at soc.pidgin.im
maiku at soc.pidgin.im
Sun Mar 22 23:01:21 EDT 2009
-----------------------------------------------------------------
Revision: 9c99cb92eb1133a1434cc0078caded42275b4ea4
Ancestor: 057a26d2c4d930206165a33a881afd9f0117f466
Author: maiku at soc.pidgin.im
Date: 2009-03-22T21:02:48
Branch: im.pidgin.pidgin.vv
URL: http://d.pidgin.im/viewmtn/revision/info/9c99cb92eb1133a1434cc0078caded42275b4ea4
Modified files:
libpurple/media.c libpurple/media.h
ChangeLog:
Remove purple_media_get_overall_type.
-------------- next part --------------
============================================================
--- libpurple/media.c 6c0992f678a459ad13cdb13524f04fb8c68c5afc
+++ libpurple/media.c ec6191518baf894b88c8ccbc4916cb106d55c393
@@ -944,26 +944,6 @@ purple_media_codec_get_type()
return type;
}
-
-
-PurpleMediaSessionType
-purple_media_get_overall_type(PurpleMedia *media)
-{
- GList *values;
- PurpleMediaSessionType type = PURPLE_MEDIA_NONE;
-
- g_return_val_if_fail(PURPLE_IS_MEDIA(media), type);
-
- values = g_hash_table_get_values(media->priv->sessions);
-
- for (; values; values = g_list_delete_link(values, values)) {
- PurpleMediaSession *session = values->data;
- type |= session->type;
- }
-
- return type;
-}
-
static PurpleMediaSession*
purple_media_get_session(PurpleMedia *media, const gchar *sess_id)
{
============================================================
--- libpurple/media.h de47b4760e9be5b51da9765078828d2ff66d1c63
+++ libpurple/media.h 8fafc92dea90cbf9c0e928f3ec8ac17970d98def
@@ -333,15 +333,6 @@ void purple_media_codec_list_free(GList
void purple_media_codec_list_free(GList *codecs);
/**
- * Combines all the separate session types into a single PurpleMediaSessionType.
- *
- * @param media The media session to retrieve session types from.
- *
- * @return Combined type.
- */
-PurpleMediaSessionType purple_media_get_overall_type(PurpleMedia *media);
-
-/**
* Gets a list of session names.
*
* @param media The media session to retrieve session names from.
More information about the Commits
mailing list