From af3cda9c5cff2ef6e071a988c39ee9463ea67ecb Mon Sep 17 00:00:00 2001 From: Evangelos Ribeiro Tzaras Date: Tue, 30 Mar 2021 18:15:24 +0200 Subject: [PATCH] media-manager: codestyle move public function `get_best_codec ()` to the bottom --- plugins/sip/calls-sip-media-manager.c | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/plugins/sip/calls-sip-media-manager.c b/plugins/sip/calls-sip-media-manager.c index b3bef1b..978a731 100644 --- a/plugins/sip/calls-sip-media-manager.c +++ b/plugins/sip/calls-sip-media-manager.c @@ -38,13 +38,6 @@ typedef struct _CallsSipMediaManager G_DEFINE_TYPE (CallsSipMediaManager, calls_sip_media_manager, G_TYPE_OBJECT); -MediaCodecInfo* -get_best_codec (CallsSipMediaManager *self) -{ - return media_codec_by_name ("PCMA"); -} - - static void calls_sip_media_manager_finalize (GObject *object) { @@ -130,3 +123,9 @@ calls_sip_media_manager_supports_media (CallsSipMediaManager *self, return TRUE; } + +MediaCodecInfo* +get_best_codec (CallsSipMediaManager *self) +{ + return media_codec_by_name ("PCMA"); +}