summaryrefslogtreecommitdiff
path: root/emerald
diff options
context:
space:
mode:
authorkristian <kristian@d7aaf104-2d23-0410-ae22-9d23157bf5a3>2006-12-13 18:14:56 +0000
committerkristian <kristian@d7aaf104-2d23-0410-ae22-9d23157bf5a3>2006-12-13 18:14:56 +0000
commitc5d3806f43275040c64bb40ce8b190a169e9a0d7 (patch)
tree23631c8ef1ca49a87fe5fe1da6e0436a61a81543 /emerald
parent95720edddc6f1af328f6891a0696d65da4b7dab4 (diff)
downloadmarex-dev-c5d3806f43275040c64bb40ce8b190a169e9a0d7.tar.gz
marex-dev-c5d3806f43275040c64bb40ce8b190a169e9a0d7.tar.bz2
Remove extra debuging messages. Only break out of update_window_decoration_actions() loop
if it doesn't return Succcess (or no more data is available). git-svn-id: file:///beryl/trunk@1722 d7aaf104-2d23-0410-ae22-9d23157bf5a3
Diffstat (limited to 'emerald')
-rw-r--r--emerald/src/main.c16
1 files changed, 2 insertions, 14 deletions
diff --git a/emerald/src/main.c b/emerald/src/main.c
index 42de561..26b1d54 100644
--- a/emerald/src/main.c
+++ b/emerald/src/main.c
@@ -3161,21 +3161,9 @@ update_window_decoration_actions (WnckWindow *win)
if (a == net_wm_context_help_atom)
d->actions |= FAKE_WINDOW_ACTION_HELP;
data=NULL;
- } else {
- /* This is an attempt to solve #161
- * This is take two. data is apparantly set to non-null at
- * some point but still doesn't contain something valid and
- * XFree()'able, that's why we attempt to reset data to
- * NULL after successfull XFree(). If this doesn't work,
- * we'll have to skip the XFree() entierly on error.
- * Also moved the fprintf so we get the error message before
- * we crash ;)
- * FIXME: Remove or alter the error message when this fix is sufficiently verified.
- */
+ } else if (result != Success) {
+ /* Closes #161 */
fprintf(stderr,"XGetWindowProperty() returned non-success value (%d) for window '%s'.\n",result, wnck_window_get_name(win));
- fprintf(stderr,"Please report this to the development team.\n" /* ,result */);
- if(data && n)
- XFree((void *) data);
break;
}
}