[anjuta] Avoid warning when compiling with a C++ compiler
- From: Sebastien Granjoux <sgranjoux src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [anjuta] Avoid warning when compiling with a C++ compiler
- Date: Sat, 9 Nov 2013 10:31:07 +0000 (UTC)
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]