[gnome-shell] run-js-test: Do not use the default stage
- From: Florian MÃllner <fmuellner src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell] run-js-test: Do not use the default stage
- Date: Thu, 15 Dec 2011 23:19:16 +0000 (UTC)
commit fcee7f2f3a91144ae576cc4c9918dcfee96119ab
Author: Florian MÃllner <fmuellner gnome org>
Date: Fri Dec 16 00:14:15 2011 +0100
run-js-test: Do not use the default stage
This was left out in commit faff0738eb.
src/run-js-test.c | 4 +---
1 files changed, 1 insertions(+), 3 deletions(-)
---
diff --git a/src/run-js-test.c b/src/run-js-test.c
index 5ee6ac8..1fefe29 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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]