vala r2352 - in trunk: . gobject
- From: juergbi svn gnome org
- To: svn-commits-list gnome org
- Subject: vala r2352 - in trunk: . gobject
- Date: Fri, 16 Jan 2009 15:47:25 +0000 (UTC)
Author: juergbi
Date: Fri Jan 16 15:47:25 2009
New Revision: 2352
URL: http://svn.gnome.org/viewvc/vala?rev=2352&view=rev
Log:
2009-01-16 JÃrg Billeter <j bitron ch>
* gobject/valaccodebasemodule.vala:
Warn about possibly missing GLib.Object prerequisite,
patch by Andreas Brauchli, fixes bug 554329
Modified:
trunk/ChangeLog
trunk/gobject/valaccodebasemodule.vala
Modified: trunk/gobject/valaccodebasemodule.vala
==============================================================================
--- trunk/gobject/valaccodebasemodule.vala (original)
+++ trunk/gobject/valaccodebasemodule.vala Fri Jan 16 15:47:25 2009
@@ -1640,7 +1640,7 @@
if (type.data_type.is_reference_counting ()) {
dup_function = type.data_type.get_ref_function ();
if (type.data_type is Interface && dup_function == null) {
- Report.error (source_reference, "missing class prerequisite for interface `%s'".printf (type.data_type.get_full_name ()));
+ Report.error (source_reference, "missing class prerequisite for interface `%s', add GLib.Object to interface declaration if unsure".printf (type.data_type.get_full_name ()));
return null;
}
} else if (cl != null && cl.is_immutable) {
@@ -1766,7 +1766,7 @@
if (type.data_type.is_reference_counting ()) {
unref_function = type.data_type.get_unref_function ();
if (type.data_type is Interface && unref_function == null) {
- Report.error (type.source_reference, "missing class prerequisite for interface `%s'".printf (type.data_type.get_full_name ()));
+ Report.error (type.source_reference, "missing class prerequisite for interface `%s', add GLib.Object to interface declaration if unsure".printf (type.data_type.get_full_name ()));
return null;
}
} else {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]