Index: uspace/lib/gui/window.c
===================================================================
--- uspace/lib/gui/window.c	(revision 38db62889297c9b33b9db3189dea9609d55654a9)
+++ uspace/lib/gui/window.c	(revision 34cb6c8d2f3e38a59a0232921b3ef17208862064)
@@ -529,5 +529,5 @@
 }
 
-window_t *window_open(char *winreg, bool is_main, bool is_decorated, 
+window_t *window_open(const char *winreg, bool is_main, bool is_decorated,
     const char *caption, sysarg_t x_offset, sysarg_t y_offset)
 {
Index: uspace/lib/gui/window.h
===================================================================
--- uspace/lib/gui/window.h	(revision 38db62889297c9b33b9db3189dea9609d55654a9)
+++ uspace/lib/gui/window.h	(revision 34cb6c8d2f3e38a59a0232921b3ef17208862064)
@@ -66,5 +66,6 @@
  * If the window is declared as main, its closure causes termination of the
  * whole application. Note that opened window does not have any surface yet. */
-extern window_t *window_open(char *, bool, bool, const char *, sysarg_t, sysarg_t);
+extern window_t *window_open(const char *, bool, bool, const char *, sysarg_t,
+    sysarg_t);
 
 /**
