shell-js: Adapt to new gjs interface
This commit is contained in:
parent
eab1ab0fac
commit
11d997c42b
@ -54,14 +54,11 @@ shell_js_add_extension_importer (const char *target_object_script,
|
|||||||
0,
|
0,
|
||||||
&target_object))
|
&target_object))
|
||||||
{
|
{
|
||||||
char *message;
|
gjs_log_exception(context);
|
||||||
gjs_log_exception(context,
|
|
||||||
&message);
|
|
||||||
g_set_error(error,
|
g_set_error(error,
|
||||||
G_IO_ERROR,
|
G_IO_ERROR,
|
||||||
G_IO_ERROR_FAILED,
|
G_IO_ERROR_FAILED,
|
||||||
"%s", message ? message : "(unknown)");
|
"Unable to import %s", target_object_script);
|
||||||
g_free(message);
|
|
||||||
goto out;
|
goto out;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user