Re: sawfish 1.3.2 segfault



Timo Korvola said:     (by the date of Thu, 24 Jan 2008 00:51:17 +0200)

> #ifndef X_HAVE_UTF8_STRING
> #include <glib.h>
> #endif
> 
> should be added to src/events.c and src/windows.c.

I just looked into glib.h, and it (of course) has include guards:

#ifndef __G_LIB_H__
#define __G_LIB_H__

so your #ifndef is unnecessary. We can just include the file anyway.

-- 
Janek Kozicki                                                         |


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]