davemds pushed a commit to branch master.

http://git.enlightenment.org/bindings/python/python-efl.git/commit/?id=9e25d34920d5168d1a2056228c301975a30936ad

commit 9e25d34920d5168d1a2056228c301975a30936ad
Author: Dave Andreoli <d...@gurumeditation.it>
Date:   Fri Oct 14 23:04:27 2016 +0200

    warnings--
---
 efl/elementary/radio.pxi | 15 ++++-----------
 setup.py                 |  1 +
 2 files changed, 5 insertions(+), 11 deletions(-)

diff --git a/efl/elementary/radio.pxi b/efl/elementary/radio.pxi
index 99baaec..6881251 100644
--- a/efl/elementary/radio.pxi
+++ b/efl/elementary/radio.pxi
@@ -92,19 +92,12 @@ cdef class Radio(LayoutClass):
         """Set a convenience pointer to a integer to change when radio group
         value changes.
 
-        This sets a pointer to a integer, that, in addition to the radio
-        objects state will also be modified directly. To stop setting the
-        object pointed to simply use None as the ``valuep`` argument. If
-        valuep is not None, then when this is called, the radio objects
-        state will also be modified to reflect the value of the integer
-        valuep points to, just like calling :py:attr:`value`.
-
-        :param valuep: Pointer to the integer to modify
-        :type valuep: int
+        This function DO NOTHING in python !! DO NOT USE !!
 
         """
-        cdef int * valuep = <int *>value
-        elm_radio_value_pointer_set(self.obj, valuep)
+        # cdef int * valuep = <int *>value
+        # elm_radio_value_pointer_set(self.obj, valuep)
+        pass
 
     property selected_object:
         """Get the selected radio object.
diff --git a/setup.py b/setup.py
index 38c3278..4dd46b6 100755
--- a/setup.py
+++ b/setup.py
@@ -213,6 +213,7 @@ packages = ["efl"]
 common_cflags = [
     "-Wno-deprecated-declarations", # we bind deprecated functions
     "-Wno-unused-variable", # eo_instance_from_object() is unused
+    # "-Werror", "-Wfatal-errors" # use this to stop build on first warnings
 ]
 
 if set(("build", "build_ext", "install", "bdist", "sdist")) & set(sys.argv):

-- 


Reply via email to