mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-07-20 08:57:50 +02:00
gdbus-codegen: Fix callback GUnixFDList parameter order
GUnixFDList actually comes *after* the GDBusMethodInvocation, but this was mistakenly putting it first. Signed-off-by: Ryan Gonzalez <ryan.gonzalez@collabora.com>
This commit is contained in:
@@ -1352,6 +1352,11 @@ G_END_DECLS
|
||||
self.assertIs(stripped_out.count(f"{func_name},"), 1)
|
||||
self.assertIs(stripped_out.count(f"{func_name} ("), 1)
|
||||
|
||||
self.assertLess(
|
||||
stripped_out.index("arg_method_invocation"),
|
||||
stripped_out.index("arg_fd_list"),
|
||||
)
|
||||
|
||||
index = 1
|
||||
self.assertIs(
|
||||
stripped_out.count(f"g_marshal_value_peek_object (param_values + {index})"),
|
||||
|
Reference in New Issue
Block a user