[pygobject/gsoc2009: 79/160] Add forgotten break in switch statement



commit 0a7035bff4f2809519632af6e534f22873e1f114
Author: Simon van der Linden <svdlinden src gnome org>
Date:   Wed Jul 29 19:40:28 2009 +0200

    Add forgotten break in switch statement

 gi/pygiinfo.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/gi/pygiinfo.c b/gi/pygiinfo.c
index c88d3ec..ebfb6cc 100644
--- a/gi/pygiinfo.c
+++ b/gi/pygiinfo.c
@@ -777,8 +777,10 @@ _wrap_g_function_info_invoke(PyGIBaseInfo *self, PyObject *py_args)
                         case GI_TYPE_TAG_FILENAME:
                         case GI_TYPE_TAG_UTF8:
                             containers[containers_pos].v_string = args[i]->v_pointer;
+                            break;
                         case GI_TYPE_TAG_ARRAY:
                             containers[containers_pos].v_pointer = g_array_copy(args[i]->v_pointer);
+                            break;
                         case GI_TYPE_TAG_INTERFACE:
                             /* TODO */
                             break;



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]