Cast the getter, avoids a compilation warning.
authorJohan Dahlin <johan@gnome.org>
Sun, 27 Apr 2008 23:09:07 +0000 (23:09 +0000)
committerJohan Dahlin <johan@src.gnome.org>
Sun, 27 Apr 2008 23:09:07 +0000 (23:09 +0000)
2008-04-27  Johan Dahlin  <johan@gnome.org>

* giscanner/giscannermodule.c (]): Cast the getter, avoids
a compilation warning.

svn path=/trunk/; revision=231

ChangeLog
giscanner/giscannermodule.c

index 1878ae1..0b6d19d 100644 (file)
--- 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.
 
index 933936c..ce5c456 100644 (file)
@@ -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 }
 };