| 1 |
|
| 2 |
|
| 3 |
ないかなー!! |
| 4 |
if GLib::BINDING_VERSION < [3, 5, 0] |
| 5 |
上の祖先が持つvfuncを実装できないバグの修正 |
| 6 |
|
| 7 |
module GObjectIntrospection::Loader::VirtualFunctionImplementable |
| 8 |
def implement_virtual_function(implementor_class, name) |
| 9 |
unless instance_variable_defined?(:@virtual_function_implementor) |
| 10 |
return false |
| 11 |
end |
| 12 |
@virtual_function_implementor.implement(implementor_class.gtype, |
| 13 |
name) |
| 14 |
end |
| 15 |
end |
| 16 |
|
| 17 |
名が変わったやつ |
| 18 |
module PangoCairo |
| 19 |
Pango.constants.filter { |name| name.to_s.start_with?('Cairo') }.each do |name| |
| 20 |
const_set(name.to_s.delete_prefix('Cairo'), Pango.const_get(name)) |
| 21 |
end |
| 22 |
end |
| 23 |
end |