]> sjero.net Git - linphone/commitdiff
fix crash and add missing icon
authorSimon Morlat <simon.morlat@linphone.org>
Thu, 30 Sep 2010 14:08:54 +0000 (16:08 +0200)
committerSimon Morlat <simon.morlat@linphone.org>
Thu, 30 Sep 2010 14:08:54 +0000 (16:08 +0200)
coreapi/linphonecore.c
pixmaps/Makefile.am

index f2a760b4c8090fa79ddee97d9f9854d1218d71d4..267fb575733846fd0cc207a15f65563cbeac4bff 100644 (file)
@@ -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);
 }
 
 
index b462cf8e74116214e7b0165eb85e6aef9050f2a8..087e6fcd41cfcd53194f86f3acf670cbca56cbc4 100644 (file)
@@ -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)