mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-05-07 05:53:06 +00:00
fix for old glib version
This commit is contained in:
parent
8b74551ac8
commit
20c23f8b8e
1 changed files with 2 additions and 1 deletions
|
|
@ -60,12 +60,13 @@ void linphone_gtk_call_log_update(GtkWidget *w){
|
|||
const char *status=NULL;
|
||||
gchar *start_date=NULL;
|
||||
|
||||
#if GLIB_CHECK_VERSION(2,26,0)
|
||||
if (cl->start_date_time){
|
||||
GDateTime *dt=g_date_time_new_from_unix_local(cl->start_date_time);
|
||||
start_date=g_date_time_format(dt,"%c");
|
||||
g_date_time_unref(dt);
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
display=linphone_address_get_display_name (la);
|
||||
if (display==NULL){
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue