run-js-test: Do not use the default stage

This was left out in commit faff0738eb.
This commit is contained in:
Florian Müllner 2011-12-16 00:14:15 +01:00
parent faff0738eb
commit fcee7f2f3a

View File

@ -63,7 +63,6 @@ int
main(int argc, char **argv) main(int argc, char **argv)
{ {
GOptionContext *context; GOptionContext *context;
ClutterActor *stage;
GError *error = NULL; GError *error = NULL;
ShellGlobal *global; ShellGlobal *global;
GjsContext *js_context; GjsContext *js_context;
@ -124,9 +123,8 @@ main(int argc, char **argv)
filename = argv[1]; filename = argv[1];
} }
stage = clutter_stage_get_default ();
title = g_filename_display_basename (filename); title = g_filename_display_basename (filename);
clutter_stage_set_title (CLUTTER_STAGE (stage), title); g_set_prgname (title);
g_free (title); g_free (title);
#if HAVE_BLUETOOTH #if HAVE_BLUETOOTH