mirror of
https://github.com/elementary/gala.git
synced 2024-11-23 02:43:26 +03:00
Fix building with gcc 14 (#2045)
This commit is contained in:
parent
738a1e95f6
commit
4ab797332f
@ -388,7 +388,9 @@ namespace Gala {
|
||||
return;
|
||||
}
|
||||
|
||||
AtkBridge.adaptor_init (0, {});
|
||||
string[] args = {};
|
||||
unowned string[] _args = args;
|
||||
AtkBridge.adaptor_init (ref _args);
|
||||
}
|
||||
|
||||
private void update_ui_group_size () {
|
||||
|
@ -1,6 +1,6 @@
|
||||
[CCode (lower_case_cprefix = "atk_bridge_")]
|
||||
[CCode (cheader_filename = "atk-bridge.h", lower_case_cprefix = "atk_bridge_")]
|
||||
namespace AtkBridge {
|
||||
public static int adaptor_init (int argc, char[] argv);
|
||||
public static int adaptor_init ([CCode (array_length_pos = 0.9)] ref unowned string[] argv);
|
||||
public static void adaptor_cleanup ();
|
||||
public static void set_event_context (GLib.MainContext cnx);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user