lib/libnotify.rb in libnotify-0.1.0 vs lib/libnotify.rb in libnotify-0.1.1
- old
+ new
@@ -15,10 +15,10 @@
# Raw FFI bindings.
module FFI
extend ::FFI::Library
- ffi_lib 'libnotify'
+ ffi_lib %w(libnotify libnotify.so libnotify.so.1)
enum :urgency, [ :low, :normal, :critical ]
attach_function :notify_init, [:string], :bool
attach_function :notify_uninit, [], :void