summaryrefslogtreecommitdiff
path: root/src/run-js-test.c
diff options
context:
space:
mode:
authorFlorian Müllner <fmuellner@gnome.org>2011-12-16 00:14:15 +0100
committerFlorian Müllner <fmuellner@gnome.org>2011-12-16 00:18:17 +0100
commitfcee7f2f3a91144ae576cc4c9918dcfee96119ab (patch)
tree5cb3cf4caf34cbc5885b88c3f65b7881a3eb1540 /src/run-js-test.c
parentfaff0738eb04923aa70019cf748c788959073a54 (diff)
run-js-test: Do not use the default stage
This was left out in commit faff0738eb.
Diffstat (limited to 'src/run-js-test.c')
-rw-r--r--src/run-js-test.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/run-js-test.c b/src/run-js-test.c
index 5ee6ac86..1fefe292 100644
--- a/src/run-js-test.c
+++ b/src/run-js-test.c
@@ -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