aboutsummaryrefslogtreecommitdiff
path: root/src/FbTk/Transparent.cc
diff options
context:
space:
mode:
authorsimonb <simonb>2006-05-20 15:08:14 (GMT)
committersimonb <simonb>2006-05-20 15:08:14 (GMT)
commit0861f3a9073ccd016302af26ff992fa19331a02d (patch)
treef1a2276449a5fc9b27f2d1afa5ffff4410141345 /src/FbTk/Transparent.cc
parent5ddabb0f390f69db793b5a6e40be9f94b8f83136 (diff)
downloadfluxbox-0861f3a9073ccd016302af26ff992fa19331a02d.zip
fluxbox-0861f3a9073ccd016302af26ff992fa19331a02d.tar.bz2
improve native language handling, move messages and menu labels to
FbTk::FbString
Diffstat (limited to 'src/FbTk/Transparent.cc')
-rw-r--r--src/FbTk/Transparent.cc4
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,