java-gobject-introspection r177 - in trunk/src/org/gnome/gir: compiler repository
- From: walters svn gnome org
- To: svn-commits-list gnome org
- Subject: java-gobject-introspection r177 - in trunk/src/org/gnome/gir: compiler repository
- Date: Fri, 6 Mar 2009 00:25:48 +0000 (UTC)
Author: walters
Date: Fri Mar 6 00:25:48 2009
New Revision: 177
URL: http://svn.gnome.org/viewvc/java-gobject-introspection?rev=177&view=rev
Log:
Adjust to rename of is_class_struct to is_gtype_struct
Modified:
trunk/src/org/gnome/gir/compiler/CodeFactory.java
trunk/src/org/gnome/gir/repository/GIntrospectionAPI.java
trunk/src/org/gnome/gir/repository/StructInfo.java
Modified: trunk/src/org/gnome/gir/compiler/CodeFactory.java
==============================================================================
--- trunk/src/org/gnome/gir/compiler/CodeFactory.java (original)
+++ trunk/src/org/gnome/gir/compiler/CodeFactory.java Fri Mar 6 00:25:48 2009
@@ -1317,7 +1317,7 @@
* have a mapping for Class<? extends GObject> to/from class struct?
*/
if (iface instanceof StructInfo) {
- if (((StructInfo) iface).isClassStruct()) {
+ if (((StructInfo) iface).isGTypeStruct()) {
logger.warning(String.format("Skipping callable with class structure argument: %s", si.getIdentifier()));
return null;
}
@@ -1844,7 +1844,7 @@
private void compile(StructInfo info) {
/* Skip these, we don't want in the public API */
- if (info.isClassStruct())
+ if (info.isGTypeStruct())
return;
StubClassCompilation compilation = getCompilation(info);
Modified: trunk/src/org/gnome/gir/repository/GIntrospectionAPI.java
==============================================================================
--- trunk/src/org/gnome/gir/repository/GIntrospectionAPI.java (original)
+++ trunk/src/org/gnome/gir/repository/GIntrospectionAPI.java Fri Mar 6 00:25:48 2009
@@ -135,7 +135,7 @@
int n);
FunctionInfo g_struct_info_find_method (StructInfo info,
String name);
- boolean g_struct_info_is_class_struct (StructInfo info);
+ boolean g_struct_info_is_gtype_struct (StructInfo info);
String g_registered_type_info_get_type_name (RegisteredTypeInfo info);
String g_registered_type_info_get_type_init (RegisteredTypeInfo info);
Modified: trunk/src/org/gnome/gir/repository/StructInfo.java
==============================================================================
--- trunk/src/org/gnome/gir/repository/StructInfo.java (original)
+++ trunk/src/org/gnome/gir/repository/StructInfo.java Fri Mar 6 00:25:48 2009
@@ -21,7 +21,7 @@
return ret;
}
- public boolean isClassStruct() {
- return GIntrospectionAPI.gi.g_struct_info_is_class_struct(this);
+ public boolean isGTypeStruct() {
+ return GIntrospectionAPI.gi.g_struct_info_is_gtype_struct(this);
}
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]