summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam Spilsbury <smspillaz@gmail.com>2010-02-05 18:14:02 +0800
committerSam Spilsbury <smspillaz@gmail.com>2010-02-05 18:14:02 +0800
commitb1b545d1e1521dc356bdd18041d663491f74fcb2 (patch)
tree57b465d5ffa0e92707b6f08f7afc0917d167926f
parent6ead49eaf69bdaa08d95db52f4298ddddcef485f (diff)
parenteee60472532f565d06db15c82cf338f7c509f7cb (diff)
downloadtitleinfo-b1b545d1e1521dc356bdd18041d663491f74fcb2.tar.gz
titleinfo-b1b545d1e1521dc356bdd18041d663491f74fcb2.tar.bz2
Merge branch 'compiz++' of ../titleinfo into compiz++
-rw-r--r--src/titleinfo.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/titleinfo.cpp b/src/titleinfo.cpp
index 78ecbb2..7a5d244 100644
--- a/src/titleinfo.cpp
+++ b/src/titleinfo.cpp
@@ -36,8 +36,6 @@ TitleinfoWindow::updateVisibleName ()
TITLEINFO_SCREEN (screen);
- fprintf (stderr, "title is %s\n", title.c_str ());
-
f_title = title.size () ? title : "";
if (ts->optionGetShowRoot () && owner == 0)
@@ -120,7 +118,7 @@ TitleinfoScreen::getUtf8Property (Window id,
Atom type;
int result, format;
unsigned long nItems, bytesAfter;
- char *val, *retval_c;
+ char *val = NULL, *retval_c = NULL;
CompString retval;
result = XGetWindowProperty (screen->dpy (), id, atom, 0L, 65536, False,