Mercurial > geeqie
view HACKING @ 1523:24a12aa0cb54
Fix up event source ids type: gint -> guint.
Functions like g_timeout_add() or g_idle_add() return a guint
greater than 0, but in most places it was wrongly stored as int
and initialized to -1.
This broke assertions matching in g_source_remove() for example
since id was always greater than 0 even when timer was not set
(-1 was casted to the biggest guint).
author | zas_ |
---|---|
date | Mon, 06 Apr 2009 22:13:54 +0000 |
parents | f31ae0d9e163 |
children | b9a9a457860d |
line wrap: on
line source
A brief overview for those that wish to work with the source. The Makefiles and configure script are generated by the autogen.sh script, usually only distributed with snapshot releases. Running autogen.sh requires automake and autoconf. GNU gettext may also be needed by autogen.sh. SVN commits _require_ an explicit log message. Think it will be used in the release Changelog. Coders should respect general coding style (see CODING). Coders, please resync po/POTFILES.in if you add or remove source files from src/ directory (using regen_potfiles.sh script in po/) and re-run make update-po when appropriate to keep translations in sync with the code. Maintainers, don't forget to run make update-po before releases. Translators, please have a look at po/README.