[anjuta/gnome-3-10] Avoid warning when compiling with a C++ compiler
- From: Johannes Schmid <jhs src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [anjuta/gnome-3-10] Avoid warning when compiling with a C++ compiler
- Date: Mon, 11 Nov 2013 17:26:51 +0000 (UTC)
commit e993b7e299859f3e8a6861f2e03cdd7ab4419dfc
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]