diff options
Diffstat (limited to 'src/ephy-session.c')
-rw-r--r-- | src/ephy-session.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/ephy-session.c b/src/ephy-session.c index a54e81401..96e016137 100644 --- a/src/ephy-session.c +++ b/src/ephy-session.c @@ -593,7 +593,9 @@ write_ephy_window (xmlTextWriterPtr writer, role = gtk_window_get_role (GTK_WINDOW (window)); if (role != NULL) { - ret = xmlTextWriterWriteAttribute (writer, "role", role); + ret = xmlTextWriterWriteAttribute (writer, + (const xmlChar *)"role", + (const xmlChar *)role); if (ret < 0) return ret; } |