Commit 4b11aad3 authored by Claes Sjofors's avatar Claes Sjofors

UTF8 conversion of window title

parent 86083997
......@@ -449,7 +449,7 @@ WAttGtk::WAttGtk(
toplevel = (GtkWidget *) g_object_new( GTK_TYPE_WINDOW,
"default-height", 570,
"default-width", 410,
"title", namep,
"title", CoWowGtk::convert_utf8(namep),
NULL);
g_signal_connect( toplevel, "delete_event", G_CALLBACK(delete_event), this);
......
......@@ -126,7 +126,7 @@ WCrrGtk::WCrrGtk(
toplevel = (GtkWidget *) g_object_new( GTK_TYPE_WINDOW,
"default-height", 420,
"default-width", 600,
"title", title,
"title", CoWowGtk::convert_utf8(title),
NULL);
g_signal_connect( toplevel, "delete_event", G_CALLBACK(delete_event), this);
......
......@@ -317,7 +317,7 @@ GeCurveGtk::GeCurveGtk( void *gc_parent_ctx,
toplevel = (GtkWidget *) g_object_new( GTK_TYPE_WINDOW,
"default-height", window_height,
"default-width", window_width,
"title", title,
"title", CoWowGtk::convert_utf8(title),
NULL);
g_signal_connect( toplevel, "delete_event", G_CALLBACK(delete_event), this);
......
......@@ -452,7 +452,7 @@ XAttGtk::XAttGtk( GtkWidget *xa_parent_wid,
toplevel = (GtkWidget *) g_object_new( GTK_TYPE_WINDOW,
"default-height", 600,
"default-width", 420,
"title", title,
"title", CoWowGtk::convert_utf8(title),
NULL);
g_signal_connect( toplevel, "delete_event", G_CALLBACK(delete_event), this);
......
......@@ -331,7 +331,7 @@ XAttOneGtk::XAttOneGtk( GtkWidget *xa_parent_wid,
toplevel = (GtkWidget *) g_object_new( GTK_TYPE_WINDOW,
"default-height", 200,
"default-width", 500,
"title", title,
"title", CoWowGtk::convert_utf8(title),
NULL);
g_signal_connect( toplevel, "delete_event", G_CALLBACK(delete_event), this);
......
......@@ -121,7 +121,7 @@ XCrrGtk::XCrrGtk(
toplevel = (GtkWidget *) g_object_new( GTK_TYPE_WINDOW,
"default-height", 420,
"default-width", 600,
"title", title,
"title", CoWowGtk::convert_utf8(title),
NULL);
g_signal_connect( toplevel, "delete_event", G_CALLBACK(delete_event), this);
......
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