linux_xanmod: 5.11.14 -> 5.11.15
[NixPkgs.git] / pkgs / development / python-modules / pygobject / pygobject-2.0-fix-darwin.patch
blob7fef05262f4d9b5495c6d41b5637b3262acaa1bf
1 --- a/gio/unix-types.defs
2 +++ b/gio/unix-types.defs
3 @@ -7,18 +7,6 @@
4 (gtype-id "G_TYPE_UNIX_CONNECTION")
7 -(define-object DesktopAppInfo
8 - (docstring
9 - "DesktopAppInfo(desktop_id) -> gio.unix.DesktopAppInfo\n\n"
10 - "gio.Unix.DesktopAppInfo is an implementation of gio.AppInfo\n"
11 - "based on desktop files."
12 - )
13 - (in-module "giounix")
14 - (parent "GObject")
15 - (c-name "GDesktopAppInfo")
16 - (gtype-id "G_TYPE_DESKTOP_APP_INFO")
19 (define-object FDMessage
20 (in-module "giounix")
21 (parent "GSocketControlMessage")
22 --- a/gio/unix.defs
23 +++ b/gio/unix.defs
24 @@ -32,54 +32,6 @@
28 -;; From gdesktopappinfo.h
30 -(define-function desktop_app_info_get_type
31 - (c-name "g_desktop_app_info_get_type")
32 - (return-type "GType")
35 -(define-function desktop_app_info_new_from_filename
36 - (c-name "g_desktop_app_info_new_from_filename")
37 - (return-type "GDesktopAppInfo*")
38 - (parameters
39 - '("const-char*" "filename")
40 - )
43 -(define-function g_desktop_app_info_new_from_keyfile
44 - (c-name "g_desktop_app_info_new_from_keyfile")
45 - (return-type "GDesktopAppInfo*")
46 - (parameters
47 - '("GKeyFile*" "key_file")
48 - )
51 -(define-function desktop_app_info_new
52 - (c-name "g_desktop_app_info_new")
53 - (is-constructor-of "GDesktopAppInfo")
54 - (return-type "GDesktopAppInfo*")
55 - (parameters
56 - '("const-char*" "desktop_id")
57 - )
60 -(define-method get_is_hidden
61 - (of-object "GDesktopAppInfo")
62 - (c-name "g_desktop_app_info_get_is_hidden")
63 - (return-type "gboolean")
66 -(define-function desktop_app_info_set_desktop_env
67 - (c-name "g_desktop_app_info_set_desktop_env")
68 - (return-type "none")
69 - (parameters
70 - '("const-char*" "desktop_env")
71 - )
76 ;; From gunixfdmessage.h
78 (define-function g_unix_fd_message_get_type
79 --- a/gio/unix.override
80 +++ b/gio/unix.override
81 @@ -24,7 +24,6 @@
82 #define NO_IMPORT_PYGOBJECT
83 #include <pygobject.h>
84 #include <gio/gio.h>
85 -#include <gio/gdesktopappinfo.h>
86 #include <gio/gunixinputstream.h>
87 #include <gio/gunixmounts.h>
88 #include <gio/gunixoutputstream.h>