Commit 00267f94 authored by Jan Djärv's avatar Jan Djärv

* xfns.c (x_set_name, x_set_title): Encode title to UTF8 before

  passing it to gtk_window_set_title.
parent bb41f093
2004-08-19 Jan Dj,Ad(Brv <jan.h.d@swipnet.se>
* xfns.c (x_set_name, x_set_title): Encode title to UTF8 before
passing it to gtk_window_set_title.
2004-08-19 Kim F. Storm <storm@cua.dk>
* process.c (wait_reading_process_input): Clean up.
......
......@@ -1651,7 +1651,7 @@ x_set_name (f, name, explicit)
}
#ifdef USE_GTK
gtk_window_set_title (GTK_WINDOW (FRAME_GTK_OUTER_WIDGET (f)),
SDATA (name));
SDATA (ENCODE_UTF_8 (name)));
#else /* not USE_GTK */
XSetWMName (FRAME_X_DISPLAY (f), FRAME_OUTER_WINDOW (f), &text);
#endif /* not USE_GTK */
......@@ -1759,7 +1759,7 @@ x_set_title (f, name, old_name)
#ifdef USE_GTK
gtk_window_set_title (GTK_WINDOW (FRAME_GTK_OUTER_WIDGET (f)),
SDATA (name));
SDATA (ENCODE_UTF_8 (name)));
#else /* not USE_GTK */
XSetWMName (FRAME_X_DISPLAY (f), FRAME_OUTER_WINDOW (f), &text);
#endif /* not USE_GTK */
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment