From 8436ca70e7880366b9d110f57de8a51a3f3137c6 Mon Sep 17 00:00:00 2001 From: Simon Morlat Date: Thu, 30 Sep 2010 16:08:54 +0200 Subject: [PATCH] fix crash and add missing icon --- coreapi/linphonecore.c | 3 ++- pixmaps/Makefile.am | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/coreapi/linphonecore.c b/coreapi/linphonecore.c index f2a760b4..267fb575 100644 --- a/coreapi/linphonecore.c +++ b/coreapi/linphonecore.c @@ -3476,7 +3476,8 @@ void linphone_core_play_dtmf(LinphoneCore *lc, char dtmf, int duration_ms){ **/ void linphone_core_stop_dtmf(LinphoneCore *lc){ MSFilter *f=get_dtmf_gen(lc); - ms_filter_call_method_noarg (f, MS_DTMF_GEN_STOP); + if (f!=NULL) + ms_filter_call_method_noarg (f, MS_DTMF_GEN_STOP); } diff --git a/pixmaps/Makefile.am b/pixmaps/Makefile.am index b462cf8e..087e6fcd 100644 --- a/pixmaps/Makefile.am +++ b/pixmaps/Makefile.am @@ -12,6 +12,6 @@ status-orange.png \ status-red.png \ status-offline.png \ contact-orange.png dialer-orange.png history-orange.png\ -startcall-green.png stopcall-red.png +startcall-green.png stopcall-red.png addcall-green.png EXTRA_DIST=$(pixmap_DATA) -- 2.39.2