Commit af4e942c authored by Vladislav's avatar Vladislav

update list

parent fa83e082
......@@ -756,8 +756,11 @@ get_data_as_string (GtkTreeIter *iter)
}
str->str[str->len-1] = '\0';
res = str->str;
g_string_free (str, FALSE);
#if GLIB_CHECK_VERSION(2,76,0)
res = g_string_free_and_steal (str);
#else
res = g_string_free (str, FALSE);
#endif
return res;
}
......
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