lib/libnotify/ffi.rb in libnotify-0.9.1 vs lib/libnotify/ffi.rb in libnotify-0.9.2

- old
+ new

@@ -38,9 +38,10 @@ attach_function :notify_notification_set_hint_string, [:pointer, :string, :string], :void attach_function :notify_notification_set_hint_uint32, [:pointer, :string, :int], :void attach_function :notify_notification_clear_hints, [:pointer], :void attach_function :notify_notification_show, [:pointer, :pointer], :bool attach_function :notify_notification_close, [:pointer, :pointer], :bool + attach_function :g_object_unref, [:pointer], :void end def method_missing(method, *args, &block) # :nodoc: if method.to_s =~ /^notify_/ warn "libnotify.so not found!"