Mercurial > geeqie
view src/gq-marshal.h @ 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 | 1646720364cf |
children |
line wrap: on
line source
#ifndef __gq_marshal_MARSHAL_H__ #define __gq_marshal_MARSHAL_H__ #include <glib-object.h> G_BEGIN_DECLS /* VOID:VOID (gq-marshal.list:1) */ #define gq_marshal_VOID__VOID g_cclosure_marshal_VOID__VOID /* VOID:INT,INT,INT,INT (gq-marshal.list:2) */ extern void gq_marshal_VOID__INT_INT_INT_INT (GClosure *closure, GValue *return_value, guint n_param_values, const GValue *param_values, gpointer invocation_hint, gpointer marshal_data); /* VOID:DOUBLE (gq-marshal.list:3) */ #define gq_marshal_VOID__DOUBLE g_cclosure_marshal_VOID__DOUBLE G_END_DECLS #endif /* __gq_marshal_MARSHAL_H__ */ /* vim: set shiftwidth=8 softtabstop=0 cindent cinoptions={1s: */