diff options
-rw-r--r-- | ChangeLog | 3 | ||||
-rw-r--r-- | giscanner/giscannermodule.c | 3 |
2 files changed, 5 insertions, 1 deletions
@@ -1,5 +1,8 @@ 2008-04-27 Johan Dahlin <johan@gnome.org> + * giscanner/giscannermodule.c (]): Cast the getter, avoids + a compilation warning. + * tools/Makefile.am (g_ir_scanner_SOURCES): g-ir-scanner has no sources. diff --git a/giscanner/giscannermodule.c b/giscanner/giscannermodule.c index 933936c3..ce5c4561 100644 --- a/giscanner/giscannermodule.c +++ b/giscanner/giscannermodule.c @@ -234,7 +234,8 @@ static const PyGetSetDef _PyGISourceSymbol_getsets[] = { /* gboolean const_int_set; */ { "const_int", (getter)symbol_get_const_int, NULL, NULL}, { "const_string", (getter)symbol_get_const_string, NULL, NULL}, - { "directives", (getter)symbol_get_directives, symbol_set_directives, NULL}, + { "directives", (getter)symbol_get_directives, + (setter)symbol_set_directives, NULL}, { 0 } }; |