aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDave Andreoli <dave@gurumeditation.it>2016-10-14 23:04:27 +0200
committerDave Andreoli <dave@gurumeditation.it>2016-10-14 23:04:27 +0200
commit9e25d34920d5168d1a2056228c301975a30936ad (patch)
tree0642af4024f354d6106de2bc6a2280aa5e08748e
parentEdje_External: fix a wrong var name (diff)
downloadpython-efl-9e25d34920d5168d1a2056228c301975a30936ad.tar.gz
warnings--
-rw-r--r--efl/elementary/radio.pxi15
-rwxr-xr-xsetup.py1
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):