[Vala] NativeVolumeMonitor binding
- From: Jim Nelson <jim yorba org>
- To: vala-list gnome org
- Cc: Adam Dingle <adam yorba org>, Andrew O'Mahony <andrew yorba org>
- Subject: [Vala] NativeVolumeMonitor binding
- Date: Fri, 17 Apr 2009 16:49:05 -0700
Hello,
I believe I've found two problems, one with gio/gnativevolumemonitor.h and the other with the gio vapi. I'll explain them both, although only the second is a Vala problem.
First, gnativevolumemonitor.h doesn't #define G_NATIVE_VOLUME_MONITOR_GET_CLASS, which causes problems for the code valac generates.
However, even when I manually add the #define, valac wants to include an instance pointer in the call to get_mount_for_mount_path(). This virtual function doesn't accept an instance pointer as an argument.
It's an odd thing, but is there some way in a vapi to declare no instance pointer for a method call? Because this is a virtual method, it can't be static.
Thanks,
-- Jim Nelson
Yorba
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]