[gjs] Just add a comment instead of a warning



commit fdd79dba0071df2110c61fe2056b21b81c9befa5
Author: Johan Dahlin <johan gnome org>
Date:   Wed Dec 2 19:17:11 2009 -0200

    Just add a comment instead of a warning

 gi/function.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gi/function.c b/gi/function.c
index 45e99b3..4014c88 100644
--- a/gi/function.c
+++ b/gi/function.c
@@ -582,7 +582,7 @@ gjs_invoke_c_function(JSContext      *context,
                 convert_argument = FALSE;
                 in_value.v_pointer = (gpointer)argv[argv_pos];
             } else if (type_tag == GI_TYPE_TAG_VOID) {
-                g_warning("Have incorrect annotation");
+                /* FIXME: notify/throw saying the callback annotation is wrong */
                 convert_argument = FALSE;
                 in_value.v_pointer = (gpointer)argv[argv_pos];
             }



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