summaryrefslogtreecommitdiff
path: root/otk/util.cc
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2003-01-16 07:02:47 +0000
committerDana Jansens <danakj@orodu.net>2003-01-16 07:02:47 +0000
commit8b0daa912e72085994cfd804a60ba4113ba27148 (patch)
tree16fa6b8bb1093b354bfd5ed95af6850cb801249c /otk/util.cc
parenta7207b7d8367af47ddb7e2733cb963148fd0379f (diff)
rm old bb shit that we dont use
Diffstat (limited to 'otk/util.cc')
-rw-r--r--otk/util.cc24
1 files changed, 0 insertions, 24 deletions
diff --git a/otk/util.cc b/otk/util.cc
index a3ec0034..16703247 100644
--- a/otk/util.cc
+++ b/otk/util.cc
@@ -61,30 +61,6 @@ void bexec(const string& command, const string& displaystring) {
}
-string textPropertyToString(Display *display, XTextProperty& text_prop) {
- string ret;
-
- if (text_prop.value && text_prop.nitems > 0) {
- if (text_prop.encoding == XA_STRING) {
- ret = (char *) text_prop.value;
- } else {
- text_prop.nitems = strlen((char *) text_prop.value);
-
- char **list;
- int num;
- if (XmbTextPropertyToTextList(display, &text_prop,
- &list, &num) == Success &&
- num > 0 && *list) {
- ret = *list;
- XFreeStringList(list);
- }
- }
- }
-
- return ret;
-}
-
-
string itostring(unsigned long i) {
if (i == 0)
return string("0");