Install config.py, better error handling if we forget --raw

svn path=/trunk/; revision=461
This commit is contained in:
Colin Walters 2008-08-22 21:08:06 +00:00 committed by Philip Withnall
parent cf73901c6b
commit a91b3dba67

View File

@ -1127,6 +1127,13 @@ load_typelib (const gchar *filename,
GModule *handle;
handle = g_module_open (filename, G_MODULE_BIND_LOCAL|G_MODULE_BIND_LAZY);
if (handle == NULL)
{
g_printerr ("Could not load typelib from '%s': %s\n",
filename, g_module_error ());
return NULL;
}
if (!g_module_symbol (handle, "_G_TYPELIB", (gpointer *) &typelib))
{
g_printerr ("Could not load typelib from '%s': %s\n",