55 */
66
77namespace Pantheon.Desktop {
8- [CCode (cheader_filename = "pantheon -desktop -shell -client -protocol .h ", cname = "struct io_elementary_pantheon_shell_v1 ", cprefix = "io_elementary_pantheon_shell_v1_ ")]
8+ [CCode (cheader_filename = "pantheon -desktop -shell -client -protocol .h ", cname = "struct io_elementary_pantheon_shell_v1 ", cprefix = "io_elementary_pantheon_shell_v1_ ", free_function = " io_elementary_pantheon_shell_v1_destroy " )]
99 public class Shell : Wl.Proxy {
1010 [CCode (cheader_filename = " pantheon-desktop-shell-client-protocol.h" , cname = " io_elementary_pantheon_shell_v1_interface" )]
1111 public static Wl . Interface iface;
1212 public void set_user_data (void * user_data);
1313 public void * get_user_data ();
1414 public uint32 get_version ();
15- public void destroy ();
1615 public Pantheon . Desktop . Panel get_panel (Wl . Surface surface);
1716 public Pantheon . Desktop . Widget get_widget (Wl . Surface surface);
1817 public Pantheon . Desktop . ExtendedBehavior get_extended_behavior (Wl . Surface surface);
@@ -35,14 +34,13 @@ namespace Pantheon.Desktop {
3534 ALWAYS
3635 }
3736
38- [CCode (cheader_filename = "pantheon -desktop -shell -client -protocol .h ", cname = "struct io_elementary_pantheon_panel_v1 ", cprefix = "io_elementary_pantheon_panel_v1_ ")]
37+ [CCode (cheader_filename = "pantheon -desktop -shell -client -protocol .h ", cname = "struct io_elementary_pantheon_panel_v1 ", cprefix = "io_elementary_pantheon_panel_v1_ ", free_function = " io_elementary_pantheon_panel_v1_destroy " )]
3938 public class Panel : Wl.Proxy {
4039 [CCode (cheader_filename = " pantheon-desktop-shell-client-protocol.h" , cname = " io_elementary_pantheon_panel_v1_interface" )]
4140 public static Wl . Interface iface;
4241 public void set_user_data (void * user_data);
4342 public void * get_user_data ();
4443 public uint32 get_version ();
45- public void destroy ();
4644 public void set_anchor (Pantheon . Desktop . Anchor anchor);
4745 public void focus ();
4846 public void set_size (int width, int height);
@@ -52,24 +50,22 @@ namespace Pantheon.Desktop {
5250 public void remove_blur ();
5351 }
5452
55- [CCode (cheader_filename = "pantheon -desktop -shell -client -protocol .h ", cname = "struct io_elementary_pantheon_widget_v1 ", cprefix = "io_elementary_pantheon_widget_v1_ ")]
53+ [CCode (cheader_filename = "pantheon -desktop -shell -client -protocol .h ", cname = "struct io_elementary_pantheon_widget_v1 ", cprefix = "io_elementary_pantheon_widget_v1_ ", free_function = " io_elementary_pantheon_widget_v1_destroy " )]
5654 public class Widget : Wl.Proxy {
5755 [CCode (cheader_filename = " pantheon-desktop-shell-client-protocol.h" , cname = " io_elementary_pantheon_widget_v1_interface" )]
5856 public static Wl . Interface iface;
5957 public void set_user_data (void * user_data);
6058 public void * get_user_data ();
6159 public uint32 get_version ();
62- public void destroy ();
6360 }
6461
65- [CCode (cheader_filename = "pantheon -desktop -shell -client -protocol .h ", cname = "struct io_elementary_pantheon_extended_behavior_v1 ", cprefix = "io_elementary_pantheon_extended_behavior_v1_ ")]
62+ [CCode (cheader_filename = "pantheon -desktop -shell -client -protocol .h ", cname = "struct io_elementary_pantheon_extended_behavior_v1 ", cprefix = "io_elementary_pantheon_extended_behavior_v1_ ", free_function = " io_elementary_pantheon_extended_behavior_v1_destroy " )]
6663 public class ExtendedBehavior : Wl.Proxy {
6764 [CCode (cheader_filename = " pantheon-desktop-shell-client-protocol.h" , cname = " io_elementary_pantheon_extended_behavior_v1_interface" )]
6865 public static Wl . Interface iface;
6966 public void set_user_data (void * user_data);
7067 public void * get_user_data ();
7168 public uint32 get_version ();
72- public void destroy ();
7369 public void set_keep_above ();
7470 }
7571}
0 commit comments