[anjuta] Avoid warning when compiling with a C++ compiler



commit ff7be87c0df301e58275204f83ab252098bab268
Author: S├ębastien Granjoux <seb sfo free fr>
Date:   Sat Oct 26 14:44:31 2013 +0200

    Avoid warning when compiling with a C++ compiler

 libanjuta/anjuta-plugin.h |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/libanjuta/anjuta-plugin.h b/libanjuta/anjuta-plugin.h
index 9ef3c46..f3f179f 100644
--- a/libanjuta/anjuta-plugin.h
+++ b/libanjuta/anjuta-plugin.h
@@ -153,7 +153,8 @@ prefix##_get_type (GTypeModule *module)                                  \
                type = g_type_module_register_type (module,                                      \
                                                    ANJUTA_TYPE_PLUGIN,                          \
                                                    #class_name,                                 \
-                                                   &type_info, 0);
+                                                   &type_info,                                  \
+                                                   (GTypeFlags) 0);
 /**
  * ANJUTA_PLUGIN_END:
  * 


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