class GObject::InitiallyUnowned
Overrides for GInitiallyUnowned, GObject's base class for objects that start with a floating reference.
Public Instance Methods
store_pointer(ptr)
click to toggle source
Initializing method used in constructors. For InitiallyUnowned and descendants, this needs to sink the object's floating reference.
Calls superclass method
# File lib/ffi-gobject/initially_unowned.rb, line 9 def store_pointer(ptr) super ::GObject::Lib.g_object_ref_sink ptr end