1 --- a/gio/unix-types.defs
2 +++ b/gio/unix-types.defs
4 (gtype-id "G_TYPE_UNIX_CONNECTION")
7 -(define-object DesktopAppInfo
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."
13 - (in-module "giounix")
15 - (c-name "GDesktopAppInfo")
16 - (gtype-id "G_TYPE_DESKTOP_APP_INFO")
19 (define-object FDMessage
21 (parent "GSocketControlMessage")
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*")
39 - '("const-char*" "filename")
43 -(define-function g_desktop_app_info_new_from_keyfile
44 - (c-name "g_desktop_app_info_new_from_keyfile")
45 - (return-type "GDesktopAppInfo*")
47 - '("GKeyFile*" "key_file")
51 -(define-function desktop_app_info_new
52 - (c-name "g_desktop_app_info_new")
53 - (is-constructor-of "GDesktopAppInfo")
54 - (return-type "GDesktopAppInfo*")
56 - '("const-char*" "desktop_id")
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")
70 - '("const-char*" "desktop_env")
76 ;; From gunixfdmessage.h
78 (define-function g_unix_fd_message_get_type
79 --- a/gio/unix.override
80 +++ b/gio/unix.override
82 #define NO_IMPORT_PYGOBJECT
83 #include <pygobject.h>
85 -#include <gio/gdesktopappinfo.h>
86 #include <gio/gunixinputstream.h>
87 #include <gio/gunixmounts.h>
88 #include <gio/gunixoutputstream.h>