summaryrefslogtreecommitdiff
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
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
-rw-r--r--ChangeLog3
-rw-r--r--giscanner/giscannermodule.c3
2 files changed, 5 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 1878ae1d..0b6d19d8 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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 }
};