File tree Expand file tree Collapse file tree 4 files changed +15
-17
lines changed Expand file tree Collapse file tree 4 files changed +15
-17
lines changed Original file line number Diff line number Diff line change @@ -16,7 +16,6 @@ generate = [
1616 " GdkMacos.MacosDisplay" ,
1717 " GdkMacos.MacosGLContext" ,
1818 " GdkMacos.MacosKeymap" ,
19- " GdkMacos.MacosMonitor" ,
2019 " GdkMacos.MacosSeat" ,
2120 " GdkMacos.MacosSurface" ,
2221]
@@ -25,3 +24,10 @@ manual = [
2524 " Gdk.Monitor" ,
2625 " Gdk.Rectangle" ,
2726]
27+
28+ [[object ]]
29+ name = " GdkMacos.MacosMonitor"
30+ status = " generate"
31+ [[object .function ]]
32+ name = " get_geometry"
33+ ignore = true # The function does not exists
Original file line number Diff line number Diff line change @@ -16,18 +16,6 @@ glib::wrapper! {
1616}
1717
1818impl MacosMonitor {
19- #[ doc( alias = "gdk_macos_monitor_get_geometry" ) ]
20- #[ doc( alias = "get_geometry" ) ]
21- pub fn geometry ( self_ : & impl IsA < gdk:: Monitor > , geometry : & mut gdk:: Rectangle ) {
22- assert_initialized_main_thread ! ( ) ;
23- unsafe {
24- ffi:: gdk_macos_monitor_get_geometry (
25- self_. as_ref ( ) . to_glib_none ( ) . 0 ,
26- geometry. to_glib_none_mut ( ) . 0 ,
27- ) ;
28- }
29- }
30-
3119 #[ doc( alias = "gdk_macos_monitor_get_workarea" ) ]
3220 #[ doc( alias = "get_workarea" ) ]
3321 pub fn workarea ( monitor : & impl IsA < gdk:: Monitor > ) -> gdk:: Rectangle {
Original file line number Diff line number Diff line change @@ -12,3 +12,11 @@ external_libraries = [
1212
1313[external_libraries ]
1414gdk4 = " Gdk"
15+
16+
17+ [[object ]]
18+ name = " GdkMacos.MacosMonitor"
19+ status = " generate"
20+ [[object .function ]]
21+ name = " get_geometry"
22+ ignore = true # The function does not exists
Original file line number Diff line number Diff line change @@ -216,10 +216,6 @@ extern "C" {
216216 // GdkMacosMonitor
217217 //=========================================================================
218218 pub fn gdk_macos_monitor_get_type ( ) -> GType ;
219- pub fn gdk_macos_monitor_get_geometry (
220- self_ : * mut gdk:: GdkMonitor ,
221- geometry : * mut gdk:: GdkRectangle ,
222- ) ;
223219 pub fn gdk_macos_monitor_get_workarea (
224220 monitor : * mut gdk:: GdkMonitor ,
225221 geometry : * mut gdk:: GdkRectangle ,
You can’t perform that action at this time.
0 commit comments