run-js-test: Do not use the default stage
This was left out in commit faff0738eb
.
This commit is contained in:
parent
faff0738eb
commit
fcee7f2f3a
@ -63,7 +63,6 @@ int
|
||||
main(int argc, char **argv)
|
||||
{
|
||||
GOptionContext *context;
|
||||
ClutterActor *stage;
|
||||
GError *error = NULL;
|
||||
ShellGlobal *global;
|
||||
GjsContext *js_context;
|
||||
@ -124,9 +123,8 @@ main(int argc, char **argv)
|
||||
filename = argv[1];
|
||||
}
|
||||
|
||||
stage = clutter_stage_get_default ();
|
||||
title = g_filename_display_basename (filename);
|
||||
clutter_stage_set_title (CLUTTER_STAGE (stage), title);
|
||||
g_set_prgname (title);
|
||||
g_free (title);
|
||||
|
||||
#if HAVE_BLUETOOTH
|
||||
|
Loading…
Reference in New Issue
Block a user