Commit 81fc6d5
Fix parent class resolution in c_glib generated dispatch_call
Client: c_glib
Use g_type_class_peek() with the processor type ID instead of
GET_CLASS(self) when looking up the parent class in generated
dispatch_call. GET_CLASS(self) returns the runtime class of the
instance, which may differ from the class defining the method
when service inheritance is used, leading to incorrect dispatch.
(10)
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>1 parent e703c7b commit 81fc6d5
1 file changed
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2594 | 2594 | | |
2595 | 2595 | | |
2596 | 2596 | | |
2597 | | - | |
2598 | | - | |
| 2597 | + | |
| 2598 | + | |
2599 | 2599 | | |
2600 | 2600 | | |
2601 | 2601 | | |
| |||
0 commit comments