[pygda] Avoid a warning about a GType with an unsuitable layout.
- From: Murray Cumming <murrayc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [pygda] Avoid a warning about a GType with an unsuitable layout.
- Date: Thu, 6 Jan 2011 20:28:41 +0000 (UTC)
commit ce571752aad4f30ecef3ff2edfa65c00315f1c74
Author: Murray Cumming <murrayc murrayc com>
Date: Thu Jan 6 21:28:34 2011 +0100
Avoid a warning about a GType with an unsuitable layout.
* gda/gda.defs: Avoid the warning about GdaLockable by correcting the
.def file generated by h2defs.py to show that it is really an interface,
not an object.
ChangeLog | 8 ++++++++
gda/gda.defs | 2 +-
2 files changed, 9 insertions(+), 1 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index f6883ab..7bb0899 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,13 @@
2011-01-06 Murray Cumming <murrayc murrayc com>
+ Avoid a warning about a GType with an unsuitable layout.
+
+ * gda/gda.defs: Avoid the warning about GdaLockable by correcting the
+ .def file generated by h2defs.py to show that it is really an interface,
+ not an object.
+
+2011-01-06 Murray Cumming <murrayc murrayc com>
+
Fix the install, not using the gtk-2.0 directory.
* gda/Makefile.am: Install the module directly in the, for instance,
diff --git a/gda/gda.defs b/gda/gda.defs
index cd9956e..ff862a0 100644
--- a/gda/gda.defs
+++ b/gda/gda.defs
@@ -110,7 +110,7 @@
(gtype-id "GDA_TYPE_HOLDER")
)
-(define-object Lockable
+(define-interface Lockable
(in-module "Gda")
(c-name "GdaLockable")
(gtype-id "GDA_TYPE_LOCKABLE")
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]