Can't inherit from AppIndicator.Indicator in Vala
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
libappindicator |
Fix Committed
|
Undecided
|
Unassigned | ||
libappindicator (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
You can't inherit from AppIndicator.
indicator-
indicator-
indicator-
This is because this define is named APP_INDICATOR_TYPE in the libappindicator header files.
You can solve this by adding the type_id to the .vapi, i.e:
[CCode (cheader_filename = "libappindicato
Other .vapis do this (e.g. telepathy-glib) but I can't work out how to make vapigen add these for libappIndicator.
Related branches
- Didier Roche-Tolomelli: Approve
- PS Jenkins bot (community): Approve (continuous-integration)
-
Diff: 21 lines (+6/-2)1 file modifieddebian/changelog (+6/-2)
- Lars Karlitski (community): Approve
-
Diff: 12 lines (+1/-1)1 file modifiedbindings/vala/appindicator-0.1-custom.vala (+1/-1)
Changed in libappindicator: | |
milestone: | none → 12.10.1 |
status: | New → Fix Committed |
Fix is in lp:~robert-ancell/libappindicator/lp-1065310 and I've confirmed it works with a local patched package.