Commit 20c23f8b authored by Simon Morlat's avatar Simon Morlat
Browse files

fix for old glib version

parent 8b74551a
......@@ -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){
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment