diff options
Diffstat (limited to 'src/FbTk/Transparent.cc')
-rw-r--r-- | src/FbTk/Transparent.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/FbTk/Transparent.cc b/src/FbTk/Transparent.cc index 8b248b8..edbab62 100644 --- a/src/FbTk/Transparent.cc +++ b/src/FbTk/Transparent.cc | |||
@@ -234,7 +234,7 @@ void Transparent::setDest(Drawable dest, int screen_num) { | |||
234 | if (format == 0) { | 234 | if (format == 0) { |
235 | _FB_USES_NLS; | 235 | _FB_USES_NLS; |
236 | cerr<<"FbTk::Transparent: "; | 236 | cerr<<"FbTk::Transparent: "; |
237 | fprintf(stderr, _FBTKTEXT(Error, NoRenderVisualFormat, "Failed to find format for screen(%d)", "XRenderFindVisualFormat failed... include %d for screen number"), screen_num); | 237 | fprintf(stderr, _FBTKTEXT(Error, NoRenderVisualFormat, "Failed to find format for screen(%d)", "XRenderFindVisualFormat failed... include %d for screen number").c_str(), screen_num); |
238 | cerr<<endl; | 238 | cerr<<endl; |
239 | } | 239 | } |
240 | m_dest_pic = XRenderCreatePicture(disp, dest, format, 0, 0); | 240 | m_dest_pic = XRenderCreatePicture(disp, dest, format, 0, 0); |
@@ -273,7 +273,7 @@ void Transparent::setSource(Drawable source, int screen_num) { | |||
273 | if (format == 0) { | 273 | if (format == 0) { |
274 | _FB_USES_NLS; | 274 | _FB_USES_NLS; |
275 | cerr<<"FbTk::Transparent: "; | 275 | cerr<<"FbTk::Transparent: "; |
276 | fprintf(stderr, _FBTKTEXT(Error, NoRenderVisualFormat, "Failed to find format for screen(%d)", "XRenderFindVisualFormat failed... include %d for screen number"), screen_num); | 276 | fprintf(stderr, _FBTKTEXT(Error, NoRenderVisualFormat, "Failed to find format for screen(%d)", "XRenderFindVisualFormat failed... include %d for screen number").c_str(), screen_num); |
277 | cerr<<endl; | 277 | cerr<<endl; |
278 | } | 278 | } |
279 | m_src_pic = XRenderCreatePicture(disp, m_source, format, | 279 | m_src_pic = XRenderCreatePicture(disp, m_source, format, |