[Glade-devel] Compiling glade 3.1.5



2007/3/13, Olivier Delhomme <olivierdelhomme at gmail.com>:

Hello,

I face some problems compiling glade 3.1.5 under msys+mingw.

For example, in glade-utils.c at line 1695 (function
glade_util_url_show_win32)
one can read :

 if (code <= 32)

may be we should read ?? :

if (retval <= 32)

unless code is supposed to be a global variable ??

It seems that something similar happens with the glade-app.c file at line
163
ine the function (glade_app_finalize). It's the first time I read the
glade code
though I do not know what exactly means the names "glade_scripts_dir" and
al.

Is this global vars ?
If this is not supposed to be the case, please can someone tell me to
which struct
it belongs ?

thanks for any help,

Olivier.


Hello, finaly I found that those are global vars but they are named without
the "glade" prefix.

So I propose you the following patch (see attached file) that :

- removes the "glade" prefix to the global variables in order to compile
- changes a test to test the right variable.

thanks,

Olivier.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/glade-devel/attachments/20070313/9e503d8f/attachment.html 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: patch_win32.glade3.3.1.5
Type: application/octet-stream
Size: 988 bytes
Desc: not available
Url : http://lists.ximian.com/pipermail/glade-devel/attachments/20070313/9e503d8f/attachment.obj 




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