[gcompris] Fix building with gcc-4.5
- From: Bruno Coudoin <bcoudoin src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gcompris] Fix building with gcc-4.5
- Date: Tue, 27 Sep 2011 22:09:19 +0000 (UTC)
commit f01fa9212586558319fdfe33c0724214a8572380
Author: Aleksey Lim <alsroot sugarlabs org>
Date: Sat Sep 24 17:07:38 2011 +0000
Fix building with gcc-4.5
src/boards/py-mod-gcompris.c | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/src/boards/py-mod-gcompris.c b/src/boards/py-mod-gcompris.c
index bb8a80b..a8eb32f 100644
--- a/src/boards/py-mod-gcompris.c
+++ b/src/boards/py-mod-gcompris.c
@@ -1141,7 +1141,9 @@ py_gc_board_config_window_display(PyObject* self, PyObject* args){
}
if (pyGcomprisConfCallbackFunc)
- Py_DECREF(pyGcomprisConfCallbackFunc);
+ {
+ Py_DECREF(pyGcomprisConfCallbackFunc);
+ }
pyGcomprisConfCallbackFunc = pyCallback;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]