/pidgin/main: 3d6440551829: Remove unnecessary signal name lookup.
Elliott Sales de Andrade
qulogic at pidgin.im
Mon Apr 1 18:03:53 EDT 2013
Changeset: 3d6440551829ebde35ee5b2463d9b45e62a4268f
Author: Elliott Sales de Andrade <qulogic at pidgin.im>
Date: 2013-02-05 02:15 -0500
Branch: default
URL: https://hg.pidgin.im/pidgin/main/rev/3d6440551829
Description:
Remove unnecessary signal name lookup.
diffstat:
libpurple/media.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diffs (12 lines):
diff --git a/libpurple/media.c b/libpurple/media.c
--- a/libpurple/media.c
+++ b/libpurple/media.c
@@ -1097,7 +1097,7 @@ purple_media_add_stream(PurpleMedia *med
media->priv->participants = g_list_prepend(
media->priv->participants, g_strdup(who));
- g_signal_emit_by_name(media, "state-changed",
+ g_signal_emit(media, purple_media_signals[STATE_CHANGED], 0,
PURPLE_MEDIA_STATE_NEW, NULL, who);
}
More information about the Commits
mailing list