lib/gst/loader.rb in gstreamer-4.1.2 vs lib/gst/loader.rb in gstreamer-4.1.3
- old
+ new
@@ -1,6 +1,6 @@
-# Copyright (C) 2013-2021 Ruby-GNOME Project Team
+# Copyright (C) 2013-2023 Ruby-GNOME Project Team
#
# This library is free software; you can redistribute it and/or
# modify it under the terms of the GNU Lesser General Public
# License as published by the Free Software Foundation; either
# version 2.1 of the License, or (at your option) any later version.
@@ -84,10 +84,10 @@
end
end
def load_value_function_info(info, method_name)
value_functions_module = @value_functions_module
- define_module_function(value_functions_module, method_name, info)
+ define_module_function(info, value_functions_module, method_name)
@value_methods_module.module_eval do
define_method(method_name) do |*arguments, &block|
value_functions_module.send(method_name, self, *arguments, &block)
end
end