diff options
author | Vincent Untz <vuntz@gnome.org> | 2012-01-31 15:24:38 +0100 |
---|---|---|
committer | Vincent Untz <vuntz@gnome.org> | 2012-01-31 15:24:38 +0100 |
commit | 375712fb492bd76495e02d1ade6c7a651b70fdbc (patch) | |
tree | ef82482a611e1314106a6d869ee1dd005bbc090d | |
parent | 2db365cb6397edb359072c8acbc9dd642909460f (diff) | |
download | libwnck-375712fb492bd76495e02d1ade6c7a651b70fdbc.tar.gz |
core: Fix build for people without xres
-rw-r--r-- | libwnck/util.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libwnck/util.c b/libwnck/util.c index 1e16862..a2bb8c4 100644 --- a/libwnck/util.c +++ b/libwnck/util.c @@ -827,8 +827,10 @@ wnck_shutdown (void) _wnck_screen_shutdown_all (); _wnck_window_shutdown_all (); +#ifdef HAVE_XRES if (xres_removeid != 0) g_source_remove (xres_removeid); xres_removeid = 0; wnck_pid_read_resource_usage_destroy_hash_table (NULL); +#endif } |