Commit b4f12e73 authored by Juan Pablo Ugarte's avatar Juan Pablo Ugarte

GladeUtil: add guard to glade_util_get_file_mtime()

Closes issue #98
parent 825d7fb7
......@@ -1280,6 +1280,8 @@ glade_util_get_file_mtime (const gchar *filename, GError **error)
struct stat info;
gint retval;
g_return_val_if_fail (filename, 0);
retval = g_stat (filename, &info);
if (retval != 0)
......
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