summaryrefslogtreecommitdiff
path: root/giscanner/giscannermodule.c
diff options
context:
space:
mode:
authorJohan Dahlin <johan@gnome.org>2008-04-27 23:09:07 +0000
committerJohan Dahlin <johan@src.gnome.org>2008-04-27 23:09:07 +0000
commit7d53a2b46201731c8537bcb483a07af37a805e1b (patch)
treeebf5273aec413abee96cdaff66e669cb019dad0c /giscanner/giscannermodule.c
parent8111f62561f234abad25bbad62cf5d203e6c5f40 (diff)
downloadgobject-introspection-7d53a2b46201731c8537bcb483a07af37a805e1b.tar.gz
Cast the getter, avoids a compilation warning.
2008-04-27 Johan Dahlin <johan@gnome.org> * giscanner/giscannermodule.c (]): Cast the getter, avoids a compilation warning. svn path=/trunk/; revision=231
Diffstat (limited to 'giscanner/giscannermodule.c')
-rw-r--r--giscanner/giscannermodule.c3
1 files changed, 2 insertions, 1 deletions
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 }
};