class GObject::InitiallyUnowned

Overrides for GInitiallyUnowned, GObject's base class for objects that start with a floating reference.

Public Class Methods

constructor_wrap(ptr) click to toggle source
Calls superclass method
# File lib/ffi-gobject/initially_unowned.rb, line 7
def self.constructor_wrap ptr
  super.tap {|obj| ::GObject.object_ref_sink obj}
end