Gen: Re-run script
- commit
- edf23b7ceb5eebf6353596f900702fdb03c92f4a
- author
- Jeroen Wijenbergh · · 2025-10-17 11:25 UTC
- parent
- 78060e9
- signature
- SSH Unverified
SHA256:8N5EoON8reSTMm461SyWlzRhib6IymBjUHb1p62kwywThe key is unknown
4 files · +26 -26
M v4/gio/gcredentials.go +6 -6
| @@ -103,7 +103,7 @@ func (x *Credentials) GetNative(NativeTypeVar CredentialsType) uintptr { | |||
| 103 | 103 | return cret | |
| 104 | 104 | } | |
| 105 | 105 | ||
| 106 | - | var xCredentialsGetUnixPid func(uintptr) pid_t | |
| 106 | + | var xCredentialsGetUnixPid func(uintptr) int | |
| 107 | 107 | ||
| 108 | 108 | // Tries to get the UNIX process identifier from @credentials. This | |
| 109 | 109 | // method is only available on UNIX platforms. | |
| @@ -111,7 +111,7 @@ var xCredentialsGetUnixPid func(uintptr) pid_t | |||
| 111 | 111 | // This operation can fail if #GCredentials is not supported on the | |
| 112 | 112 | // OS or if the native credentials type does not contain information | |
| 113 | 113 | // about the UNIX process ID. | |
| 114 | - | func (x *Credentials) GetUnixPid() (pid_t, error) { | |
| 114 | + | func (x *Credentials) GetUnixPid() (int, error) { | |
| 115 | 115 | var cerr *glib.Error | |
| 116 | 116 | ||
| 117 | 117 | cret := xCredentialsGetUnixPid(x.GoPointer()) | |
| @@ -122,7 +122,7 @@ func (x *Credentials) GetUnixPid() (pid_t, error) { | |||
| 122 | 122 | ||
| 123 | 123 | } | |
| 124 | 124 | ||
| 125 | - | var xCredentialsGetUnixUser func(uintptr) uid_t | |
| 125 | + | var xCredentialsGetUnixUser func(uintptr) uint | |
| 126 | 126 | ||
| 127 | 127 | // Tries to get the UNIX user identifier from @credentials. This | |
| 128 | 128 | // method is only available on UNIX platforms. | |
| @@ -130,7 +130,7 @@ var xCredentialsGetUnixUser func(uintptr) uid_t | |||
| 130 | 130 | // This operation can fail if #GCredentials is not supported on the | |
| 131 | 131 | // OS or if the native credentials type does not contain information | |
| 132 | 132 | // about the UNIX user. | |
| 133 | - | func (x *Credentials) GetUnixUser() (uid_t, error) { | |
| 133 | + | func (x *Credentials) GetUnixUser() (uint, error) { | |
| 134 | 134 | var cerr *glib.Error | |
| 135 | 135 | ||
| 136 | 136 | cret := xCredentialsGetUnixUser(x.GoPointer()) | |
| @@ -172,7 +172,7 @@ func (x *Credentials) SetNative(NativeTypeVar CredentialsType, NativeVar uintptr | |||
| 172 | 172 | ||
| 173 | 173 | } | |
| 174 | 174 | ||
| 175 | - | var xCredentialsSetUnixUser func(uintptr, uid_t, **glib.Error) bool | |
| 175 | + | var xCredentialsSetUnixUser func(uintptr, uint, **glib.Error) bool | |
| 176 | 176 | ||
| 177 | 177 | // Tries to set the UNIX user identifier on @credentials. This method | |
| 178 | 178 | // is only available on UNIX platforms. | |
| @@ -181,7 +181,7 @@ var xCredentialsSetUnixUser func(uintptr, uid_t, **glib.Error) bool | |||
| 181 | 181 | // OS or if the native credentials type does not contain information | |
| 182 | 182 | // about the UNIX user. It can also fail if the OS does not allow the | |
| 183 | 183 | // use of "spoofed" credentials. | |
| 184 | - | func (x *Credentials) SetUnixUser(UidVar uid_t) (bool, error) { | |
| 184 | + | func (x *Credentials) SetUnixUser(UidVar uint) (bool, error) { | |
| 185 | 185 | var cerr *glib.Error | |
| 186 | 186 | ||
| 187 | 187 | cret := xCredentialsSetUnixUser(x.GoPointer(), UidVar, &cerr) | |
| @@ -103,7 +103,7 @@ func (x *Credentials) GetNative(NativeTypeVar CredentialsType) uintptr { | |||||
| 103 | return cret | 103 | return cret | ||
| 104 | } | 104 | } | ||
| 105 | 105 | ||||
| 106 | - | var xCredentialsGetUnixPid func(uintptr) pid_t | 106 | + | var xCredentialsGetUnixPid func(uintptr) int |
| 107 | 107 | ||||
| 108 | // Tries to get the UNIX process identifier from @credentials. This | 108 | // Tries to get the UNIX process identifier from @credentials. This | ||
| 109 | // method is only available on UNIX platforms. | 109 | // method is only available on UNIX platforms. | ||
| @@ -111,7 +111,7 @@ var xCredentialsGetUnixPid func(uintptr) pid_t | |||||
| 111 | // This operation can fail if #GCredentials is not supported on the | 111 | // This operation can fail if #GCredentials is not supported on the | ||
| 112 | // OS or if the native credentials type does not contain information | 112 | // OS or if the native credentials type does not contain information | ||
| 113 | // about the UNIX process ID. | 113 | // about the UNIX process ID. | ||
| 114 | - | func (x *Credentials) GetUnixPid() (pid_t, error) { | 114 | + | func (x *Credentials) GetUnixPid() (int, error) { |
| 115 | var cerr *glib.Error | 115 | var cerr *glib.Error | ||
| 116 | 116 | ||||
| 117 | cret := xCredentialsGetUnixPid(x.GoPointer()) | 117 | cret := xCredentialsGetUnixPid(x.GoPointer()) | ||
| @@ -122,7 +122,7 @@ func (x *Credentials) GetUnixPid() (pid_t, error) { | |||||
| 122 | 122 | ||||
| 123 | } | 123 | } | ||
| 124 | 124 | ||||
| 125 | - | var xCredentialsGetUnixUser func(uintptr) uid_t | 125 | + | var xCredentialsGetUnixUser func(uintptr) uint |
| 126 | 126 | ||||
| 127 | // Tries to get the UNIX user identifier from @credentials. This | 127 | // Tries to get the UNIX user identifier from @credentials. This | ||
| 128 | // method is only available on UNIX platforms. | 128 | // method is only available on UNIX platforms. | ||
| @@ -130,7 +130,7 @@ var xCredentialsGetUnixUser func(uintptr) uid_t | |||||
| 130 | // This operation can fail if #GCredentials is not supported on the | 130 | // This operation can fail if #GCredentials is not supported on the | ||
| 131 | // OS or if the native credentials type does not contain information | 131 | // OS or if the native credentials type does not contain information | ||
| 132 | // about the UNIX user. | 132 | // about the UNIX user. | ||
| 133 | - | func (x *Credentials) GetUnixUser() (uid_t, error) { | 133 | + | func (x *Credentials) GetUnixUser() (uint, error) { |
| 134 | var cerr *glib.Error | 134 | var cerr *glib.Error | ||
| 135 | 135 | ||||
| 136 | cret := xCredentialsGetUnixUser(x.GoPointer()) | 136 | cret := xCredentialsGetUnixUser(x.GoPointer()) | ||
| @@ -172,7 +172,7 @@ func (x *Credentials) SetNative(NativeTypeVar CredentialsType, NativeVar uintptr | |||||
| 172 | 172 | ||||
| 173 | } | 173 | } | ||
| 174 | 174 | ||||
| 175 | - | var xCredentialsSetUnixUser func(uintptr, uid_t, **glib.Error) bool | 175 | + | var xCredentialsSetUnixUser func(uintptr, uint, **glib.Error) bool |
| 176 | 176 | ||||
| 177 | // Tries to set the UNIX user identifier on @credentials. This method | 177 | // Tries to set the UNIX user identifier on @credentials. This method | ||
| 178 | // is only available on UNIX platforms. | 178 | // is only available on UNIX platforms. | ||
| @@ -181,7 +181,7 @@ var xCredentialsSetUnixUser func(uintptr, uid_t, **glib.Error) bool | |||||
| 181 | // OS or if the native credentials type does not contain information | 181 | // OS or if the native credentials type does not contain information | ||
| 182 | // about the UNIX user. It can also fail if the OS does not allow the | 182 | // about the UNIX user. It can also fail if the OS does not allow the | ||
| 183 | // use of "spoofed" credentials. | 183 | // use of "spoofed" credentials. | ||
| 184 | - | func (x *Credentials) SetUnixUser(UidVar uid_t) (bool, error) { | 184 | + | func (x *Credentials) SetUnixUser(UidVar uint) (bool, error) { |
| 185 | var cerr *glib.Error | 185 | var cerr *glib.Error | ||
| 186 | 186 | ||||
| 187 | cret := xCredentialsSetUnixUser(x.GoPointer(), UidVar, &cerr) | 187 | cret := xCredentialsSetUnixUser(x.GoPointer(), UidVar, &cerr) | ||
M v4/glib/gatomic.go +2 -2
| @@ -210,7 +210,7 @@ func AtomicIntXor(AtomicVar uint, ValVar uint) uint { | |||
| 210 | 210 | return cret | |
| 211 | 211 | } | |
| 212 | 212 | ||
| 213 | - | var xAtomicPointerAdd func(uintptr, int) gintptr | |
| 213 | + | var xAtomicPointerAdd func(uintptr, int) int | |
| 214 | 214 | ||
| 215 | 215 | // Atomically adds @val to the value of @atomic. | |
| 216 | 216 | // | |
| @@ -225,7 +225,7 @@ var xAtomicPointerAdd func(uintptr, int) gintptr | |||
| 225 | 225 | // In GLib 2.80, the return type was changed from #gssize to #gintptr to add | |
| 226 | 226 | // support for platforms with 128-bit pointers. This should not affect existing | |
| 227 | 227 | // code. | |
| 228 | - | func AtomicPointerAdd(AtomicVar uintptr, ValVar int) gintptr { | |
| 228 | + | func AtomicPointerAdd(AtomicVar uintptr, ValVar int) int { | |
| 229 | 229 | ||
| 230 | 230 | cret := xAtomicPointerAdd(AtomicVar, ValVar) | |
| 231 | 231 | return cret | |
| @@ -210,7 +210,7 @@ func AtomicIntXor(AtomicVar uint, ValVar uint) uint { | |||||
| 210 | return cret | 210 | return cret | ||
| 211 | } | 211 | } | ||
| 212 | 212 | ||||
| 213 | - | var xAtomicPointerAdd func(uintptr, int) gintptr | 213 | + | var xAtomicPointerAdd func(uintptr, int) int |
| 214 | 214 | ||||
| 215 | // Atomically adds @val to the value of @atomic. | 215 | // Atomically adds @val to the value of @atomic. | ||
| 216 | // | 216 | // | ||
| @@ -225,7 +225,7 @@ var xAtomicPointerAdd func(uintptr, int) gintptr | |||||
| 225 | // In GLib 2.80, the return type was changed from #gssize to #gintptr to add | 225 | // In GLib 2.80, the return type was changed from #gssize to #gintptr to add | ||
| 226 | // support for platforms with 128-bit pointers. This should not affect existing | 226 | // support for platforms with 128-bit pointers. This should not affect existing | ||
| 227 | // code. | 227 | // code. | ||
| 228 | - | func AtomicPointerAdd(AtomicVar uintptr, ValVar int) gintptr { | 228 | + | func AtomicPointerAdd(AtomicVar uintptr, ValVar int) int { |
| 229 | 229 | ||||
| 230 | cret := xAtomicPointerAdd(AtomicVar, ValVar) | 230 | cret := xAtomicPointerAdd(AtomicVar, ValVar) | ||
| 231 | return cret | 231 | return cret | ||
M v4/glib/gbookmarkfile.go +16 -16
| @@ -134,13 +134,13 @@ func (x *BookmarkFile) Free() { | |||
| 134 | 134 | ||
| 135 | 135 | } | |
| 136 | 136 | ||
| 137 | - | var xBookmarkFileGetAdded func(uintptr, string, **Error) time_t | |
| 137 | + | var xBookmarkFileGetAdded func(uintptr, string, **Error) int | |
| 138 | 138 | ||
| 139 | 139 | // Gets the time the bookmark for @uri was added to @bookmark | |
| 140 | 140 | // | |
| 141 | 141 | // In the event the URI cannot be found, -1 is returned and | |
| 142 | 142 | // @error is set to %G_BOOKMARK_FILE_ERROR_URI_NOT_FOUND. | |
| 143 | - | func (x *BookmarkFile) GetAdded(UriVar string) (time_t, error) { | |
| 143 | + | func (x *BookmarkFile) GetAdded(UriVar string) (int, error) { | |
| 144 | 144 | var cerr *Error | |
| 145 | 145 | ||
| 146 | 146 | cret := xBookmarkFileGetAdded(x.GoPointer(), UriVar, &cerr) | |
| @@ -168,7 +168,7 @@ func (x *BookmarkFile) GetAddedDateTime(UriVar string) (*DateTime, error) { | |||
| 168 | 168 | ||
| 169 | 169 | } | |
| 170 | 170 | ||
| 171 | - | var xBookmarkFileGetAppInfo func(uintptr, string, string, string, uint, *time_t, **Error) bool | |
| 171 | + | var xBookmarkFileGetAppInfo func(uintptr, string, string, string, uint, int, **Error) bool | |
| 172 | 172 | ||
| 173 | 173 | // Gets the registration information of @app_name for the bookmark for | |
| 174 | 174 | // @uri. See g_bookmark_file_set_application_info() for more information about | |
| @@ -183,7 +183,7 @@ var xBookmarkFileGetAppInfo func(uintptr, string, string, string, uint, *time_t, | |||
| 183 | 183 | // %G_BOOKMARK_FILE_ERROR_APP_NOT_REGISTERED. In the event that unquoting | |
| 184 | 184 | // the command line fails, an error of the %G_SHELL_ERROR domain is | |
| 185 | 185 | // set and %FALSE is returned. | |
| 186 | - | func (x *BookmarkFile) GetAppInfo(UriVar string, NameVar string, ExecVar string, CountVar uint, StampVar *time_t) (bool, error) { | |
| 186 | + | func (x *BookmarkFile) GetAppInfo(UriVar string, NameVar string, ExecVar string, CountVar uint, StampVar int) (bool, error) { | |
| 187 | 187 | var cerr *Error | |
| 188 | 188 | ||
| 189 | 189 | cret := xBookmarkFileGetAppInfo(x.GoPointer(), UriVar, NameVar, ExecVar, CountVar, StampVar, &cerr) | |
| @@ -330,13 +330,13 @@ func (x *BookmarkFile) GetMimeType(UriVar string) (string, error) { | |||
| 330 | 330 | ||
| 331 | 331 | } | |
| 332 | 332 | ||
| 333 | - | var xBookmarkFileGetModified func(uintptr, string, **Error) time_t | |
| 333 | + | var xBookmarkFileGetModified func(uintptr, string, **Error) int | |
| 334 | 334 | ||
| 335 | 335 | // Gets the time when the bookmark for @uri was last modified. | |
| 336 | 336 | // | |
| 337 | 337 | // In the event the URI cannot be found, -1 is returned and | |
| 338 | 338 | // @error is set to %G_BOOKMARK_FILE_ERROR_URI_NOT_FOUND. | |
| 339 | - | func (x *BookmarkFile) GetModified(UriVar string) (time_t, error) { | |
| 339 | + | func (x *BookmarkFile) GetModified(UriVar string) (int, error) { | |
| 340 | 340 | var cerr *Error | |
| 341 | 341 | ||
| 342 | 342 | cret := xBookmarkFileGetModified(x.GoPointer(), UriVar, &cerr) | |
| @@ -403,13 +403,13 @@ func (x *BookmarkFile) GetUris(LengthVar uint) []string { | |||
| 403 | 403 | return cret | |
| 404 | 404 | } | |
| 405 | 405 | ||
| 406 | - | var xBookmarkFileGetVisited func(uintptr, string, **Error) time_t | |
| 406 | + | var xBookmarkFileGetVisited func(uintptr, string, **Error) int | |
| 407 | 407 | ||
| 408 | 408 | // Gets the time the bookmark for @uri was last visited. | |
| 409 | 409 | // | |
| 410 | 410 | // In the event the URI cannot be found, -1 is returned and | |
| 411 | 411 | // @error is set to %G_BOOKMARK_FILE_ERROR_URI_NOT_FOUND. | |
| 412 | - | func (x *BookmarkFile) GetVisited(UriVar string) (time_t, error) { | |
| 412 | + | func (x *BookmarkFile) GetVisited(UriVar string) (int, error) { | |
| 413 | 413 | var cerr *Error | |
| 414 | 414 | ||
| 415 | 415 | cret := xBookmarkFileGetVisited(x.GoPointer(), UriVar, &cerr) | |
| @@ -606,12 +606,12 @@ func (x *BookmarkFile) RemoveItem(UriVar string) (bool, error) { | |||
| 606 | 606 | ||
| 607 | 607 | } | |
| 608 | 608 | ||
| 609 | - | var xBookmarkFileSetAdded func(uintptr, string, time_t) | |
| 609 | + | var xBookmarkFileSetAdded func(uintptr, string, int) | |
| 610 | 610 | ||
| 611 | 611 | // Sets the time the bookmark for @uri was added into @bookmark. | |
| 612 | 612 | // | |
| 613 | 613 | // If no bookmark for @uri is found then it is created. | |
| 614 | - | func (x *BookmarkFile) SetAdded(UriVar string, AddedVar time_t) { | |
| 614 | + | func (x *BookmarkFile) SetAdded(UriVar string, AddedVar int) { | |
| 615 | 615 | ||
| 616 | 616 | xBookmarkFileSetAdded(x.GoPointer(), UriVar, AddedVar) | |
| 617 | 617 | ||
| @@ -628,7 +628,7 @@ func (x *BookmarkFile) SetAddedDateTime(UriVar string, AddedVar *DateTime) { | |||
| 628 | 628 | ||
| 629 | 629 | } | |
| 630 | 630 | ||
| 631 | - | var xBookmarkFileSetAppInfo func(uintptr, string, string, string, int, time_t, **Error) bool | |
| 631 | + | var xBookmarkFileSetAppInfo func(uintptr, string, string, string, int, int, **Error) bool | |
| 632 | 632 | ||
| 633 | 633 | // Sets the meta-data of application @name inside the list of | |
| 634 | 634 | // applications that have registered a bookmark for @uri inside | |
| @@ -658,7 +658,7 @@ var xBookmarkFileSetAppInfo func(uintptr, string, string, string, int, time_t, * | |||
| 658 | 658 | // for @uri, %FALSE is returned and error is set to | |
| 659 | 659 | // %G_BOOKMARK_FILE_ERROR_APP_NOT_REGISTERED. Otherwise, if no bookmark | |
| 660 | 660 | // for @uri is found, one is created. | |
| 661 | - | func (x *BookmarkFile) SetAppInfo(UriVar string, NameVar string, ExecVar string, CountVar int, StampVar time_t) (bool, error) { | |
| 661 | + | func (x *BookmarkFile) SetAppInfo(UriVar string, NameVar string, ExecVar string, CountVar int, StampVar int) (bool, error) { | |
| 662 | 662 | var cerr *Error | |
| 663 | 663 | ||
| 664 | 664 | cret := xBookmarkFileSetAppInfo(x.GoPointer(), UriVar, NameVar, ExecVar, CountVar, StampVar, &cerr) | |
| @@ -769,7 +769,7 @@ func (x *BookmarkFile) SetMimeType(UriVar string, MimeTypeVar string) { | |||
| 769 | 769 | ||
| 770 | 770 | } | |
| 771 | 771 | ||
| 772 | - | var xBookmarkFileSetModified func(uintptr, string, time_t) | |
| 772 | + | var xBookmarkFileSetModified func(uintptr, string, int) | |
| 773 | 773 | ||
| 774 | 774 | // Sets the last time the bookmark for @uri was last modified. | |
| 775 | 775 | // | |
| @@ -779,7 +779,7 @@ var xBookmarkFileSetModified func(uintptr, string, time_t) | |||
| 779 | 779 | // was actually changed. Every function of #GBookmarkFile that | |
| 780 | 780 | // modifies a bookmark also changes the modification time, except for | |
| 781 | 781 | // g_bookmark_file_set_visited_date_time(). | |
| 782 | - | func (x *BookmarkFile) SetModified(UriVar string, ModifiedVar time_t) { | |
| 782 | + | func (x *BookmarkFile) SetModified(UriVar string, ModifiedVar int) { | |
| 783 | 783 | ||
| 784 | 784 | xBookmarkFileSetModified(x.GoPointer(), UriVar, ModifiedVar) | |
| 785 | 785 | ||
| @@ -815,7 +815,7 @@ func (x *BookmarkFile) SetTitle(UriVar string, TitleVar string) { | |||
| 815 | 815 | ||
| 816 | 816 | } | |
| 817 | 817 | ||
| 818 | - | var xBookmarkFileSetVisited func(uintptr, string, time_t) | |
| 818 | + | var xBookmarkFileSetVisited func(uintptr, string, int) | |
| 819 | 819 | ||
| 820 | 820 | // Sets the time the bookmark for @uri was last visited. | |
| 821 | 821 | // | |
| @@ -826,7 +826,7 @@ var xBookmarkFileSetVisited func(uintptr, string, time_t) | |||
| 826 | 826 | // or by the default application for the bookmark's MIME type, retrieved | |
| 827 | 827 | // using g_bookmark_file_get_mime_type(). Changing the "visited" time | |
| 828 | 828 | // does not affect the "modified" time. | |
| 829 | - | func (x *BookmarkFile) SetVisited(UriVar string, VisitedVar time_t) { | |
| 829 | + | func (x *BookmarkFile) SetVisited(UriVar string, VisitedVar int) { | |
| 830 | 830 | ||
| 831 | 831 | xBookmarkFileSetVisited(x.GoPointer(), UriVar, VisitedVar) | |
| 832 | 832 | ||
| @@ -134,13 +134,13 @@ func (x *BookmarkFile) Free() { | |||||
| 134 | 134 | ||||
| 135 | } | 135 | } | ||
| 136 | 136 | ||||
| 137 | - | var xBookmarkFileGetAdded func(uintptr, string, **Error) time_t | 137 | + | var xBookmarkFileGetAdded func(uintptr, string, **Error) int |
| 138 | 138 | ||||
| 139 | // Gets the time the bookmark for @uri was added to @bookmark | 139 | // Gets the time the bookmark for @uri was added to @bookmark | ||
| 140 | // | 140 | // | ||
| 141 | // In the event the URI cannot be found, -1 is returned and | 141 | // In the event the URI cannot be found, -1 is returned and | ||
| 142 | // @error is set to %G_BOOKMARK_FILE_ERROR_URI_NOT_FOUND. | 142 | // @error is set to %G_BOOKMARK_FILE_ERROR_URI_NOT_FOUND. | ||
| 143 | - | func (x *BookmarkFile) GetAdded(UriVar string) (time_t, error) { | 143 | + | func (x *BookmarkFile) GetAdded(UriVar string) (int, error) { |
| 144 | var cerr *Error | 144 | var cerr *Error | ||
| 145 | 145 | ||||
| 146 | cret := xBookmarkFileGetAdded(x.GoPointer(), UriVar, &cerr) | 146 | cret := xBookmarkFileGetAdded(x.GoPointer(), UriVar, &cerr) | ||
| @@ -168,7 +168,7 @@ func (x *BookmarkFile) GetAddedDateTime(UriVar string) (*DateTime, error) { | |||||
| 168 | 168 | ||||
| 169 | } | 169 | } | ||
| 170 | 170 | ||||
| 171 | - | var xBookmarkFileGetAppInfo func(uintptr, string, string, string, uint, *time_t, **Error) bool | 171 | + | var xBookmarkFileGetAppInfo func(uintptr, string, string, string, uint, int, **Error) bool |
| 172 | 172 | ||||
| 173 | // Gets the registration information of @app_name for the bookmark for | 173 | // Gets the registration information of @app_name for the bookmark for | ||
| 174 | // @uri. See g_bookmark_file_set_application_info() for more information about | 174 | // @uri. See g_bookmark_file_set_application_info() for more information about | ||
| @@ -183,7 +183,7 @@ var xBookmarkFileGetAppInfo func(uintptr, string, string, string, uint, *time_t, | |||||
| 183 | // %G_BOOKMARK_FILE_ERROR_APP_NOT_REGISTERED. In the event that unquoting | 183 | // %G_BOOKMARK_FILE_ERROR_APP_NOT_REGISTERED. In the event that unquoting | ||
| 184 | // the command line fails, an error of the %G_SHELL_ERROR domain is | 184 | // the command line fails, an error of the %G_SHELL_ERROR domain is | ||
| 185 | // set and %FALSE is returned. | 185 | // set and %FALSE is returned. | ||
| 186 | - | func (x *BookmarkFile) GetAppInfo(UriVar string, NameVar string, ExecVar string, CountVar uint, StampVar *time_t) (bool, error) { | 186 | + | func (x *BookmarkFile) GetAppInfo(UriVar string, NameVar string, ExecVar string, CountVar uint, StampVar int) (bool, error) { |
| 187 | var cerr *Error | 187 | var cerr *Error | ||
| 188 | 188 | ||||
| 189 | cret := xBookmarkFileGetAppInfo(x.GoPointer(), UriVar, NameVar, ExecVar, CountVar, StampVar, &cerr) | 189 | cret := xBookmarkFileGetAppInfo(x.GoPointer(), UriVar, NameVar, ExecVar, CountVar, StampVar, &cerr) | ||
| @@ -330,13 +330,13 @@ func (x *BookmarkFile) GetMimeType(UriVar string) (string, error) { | |||||
| 330 | 330 | ||||
| 331 | } | 331 | } | ||
| 332 | 332 | ||||
| 333 | - | var xBookmarkFileGetModified func(uintptr, string, **Error) time_t | 333 | + | var xBookmarkFileGetModified func(uintptr, string, **Error) int |
| 334 | 334 | ||||
| 335 | // Gets the time when the bookmark for @uri was last modified. | 335 | // Gets the time when the bookmark for @uri was last modified. | ||
| 336 | // | 336 | // | ||
| 337 | // In the event the URI cannot be found, -1 is returned and | 337 | // In the event the URI cannot be found, -1 is returned and | ||
| 338 | // @error is set to %G_BOOKMARK_FILE_ERROR_URI_NOT_FOUND. | 338 | // @error is set to %G_BOOKMARK_FILE_ERROR_URI_NOT_FOUND. | ||
| 339 | - | func (x *BookmarkFile) GetModified(UriVar string) (time_t, error) { | 339 | + | func (x *BookmarkFile) GetModified(UriVar string) (int, error) { |
| 340 | var cerr *Error | 340 | var cerr *Error | ||
| 341 | 341 | ||||
| 342 | cret := xBookmarkFileGetModified(x.GoPointer(), UriVar, &cerr) | 342 | cret := xBookmarkFileGetModified(x.GoPointer(), UriVar, &cerr) | ||
| @@ -403,13 +403,13 @@ func (x *BookmarkFile) GetUris(LengthVar uint) []string { | |||||
| 403 | return cret | 403 | return cret | ||
| 404 | } | 404 | } | ||
| 405 | 405 | ||||
| 406 | - | var xBookmarkFileGetVisited func(uintptr, string, **Error) time_t | 406 | + | var xBookmarkFileGetVisited func(uintptr, string, **Error) int |
| 407 | 407 | ||||
| 408 | // Gets the time the bookmark for @uri was last visited. | 408 | // Gets the time the bookmark for @uri was last visited. | ||
| 409 | // | 409 | // | ||
| 410 | // In the event the URI cannot be found, -1 is returned and | 410 | // In the event the URI cannot be found, -1 is returned and | ||
| 411 | // @error is set to %G_BOOKMARK_FILE_ERROR_URI_NOT_FOUND. | 411 | // @error is set to %G_BOOKMARK_FILE_ERROR_URI_NOT_FOUND. | ||
| 412 | - | func (x *BookmarkFile) GetVisited(UriVar string) (time_t, error) { | 412 | + | func (x *BookmarkFile) GetVisited(UriVar string) (int, error) { |
| 413 | var cerr *Error | 413 | var cerr *Error | ||
| 414 | 414 | ||||
| 415 | cret := xBookmarkFileGetVisited(x.GoPointer(), UriVar, &cerr) | 415 | cret := xBookmarkFileGetVisited(x.GoPointer(), UriVar, &cerr) | ||
| @@ -606,12 +606,12 @@ func (x *BookmarkFile) RemoveItem(UriVar string) (bool, error) { | |||||
| 606 | 606 | ||||
| 607 | } | 607 | } | ||
| 608 | 608 | ||||
| 609 | - | var xBookmarkFileSetAdded func(uintptr, string, time_t) | 609 | + | var xBookmarkFileSetAdded func(uintptr, string, int) |
| 610 | 610 | ||||
| 611 | // Sets the time the bookmark for @uri was added into @bookmark. | 611 | // Sets the time the bookmark for @uri was added into @bookmark. | ||
| 612 | // | 612 | // | ||
| 613 | // If no bookmark for @uri is found then it is created. | 613 | // If no bookmark for @uri is found then it is created. | ||
| 614 | - | func (x *BookmarkFile) SetAdded(UriVar string, AddedVar time_t) { | 614 | + | func (x *BookmarkFile) SetAdded(UriVar string, AddedVar int) { |
| 615 | 615 | ||||
| 616 | xBookmarkFileSetAdded(x.GoPointer(), UriVar, AddedVar) | 616 | xBookmarkFileSetAdded(x.GoPointer(), UriVar, AddedVar) | ||
| 617 | 617 | ||||
| @@ -628,7 +628,7 @@ func (x *BookmarkFile) SetAddedDateTime(UriVar string, AddedVar *DateTime) { | |||||
| 628 | 628 | ||||
| 629 | } | 629 | } | ||
| 630 | 630 | ||||
| 631 | - | var xBookmarkFileSetAppInfo func(uintptr, string, string, string, int, time_t, **Error) bool | 631 | + | var xBookmarkFileSetAppInfo func(uintptr, string, string, string, int, int, **Error) bool |
| 632 | 632 | ||||
| 633 | // Sets the meta-data of application @name inside the list of | 633 | // Sets the meta-data of application @name inside the list of | ||
| 634 | // applications that have registered a bookmark for @uri inside | 634 | // applications that have registered a bookmark for @uri inside | ||
| @@ -658,7 +658,7 @@ var xBookmarkFileSetAppInfo func(uintptr, string, string, string, int, time_t, * | |||||
| 658 | // for @uri, %FALSE is returned and error is set to | 658 | // for @uri, %FALSE is returned and error is set to | ||
| 659 | // %G_BOOKMARK_FILE_ERROR_APP_NOT_REGISTERED. Otherwise, if no bookmark | 659 | // %G_BOOKMARK_FILE_ERROR_APP_NOT_REGISTERED. Otherwise, if no bookmark | ||
| 660 | // for @uri is found, one is created. | 660 | // for @uri is found, one is created. | ||
| 661 | - | func (x *BookmarkFile) SetAppInfo(UriVar string, NameVar string, ExecVar string, CountVar int, StampVar time_t) (bool, error) { | 661 | + | func (x *BookmarkFile) SetAppInfo(UriVar string, NameVar string, ExecVar string, CountVar int, StampVar int) (bool, error) { |
| 662 | var cerr *Error | 662 | var cerr *Error | ||
| 663 | 663 | ||||
| 664 | cret := xBookmarkFileSetAppInfo(x.GoPointer(), UriVar, NameVar, ExecVar, CountVar, StampVar, &cerr) | 664 | cret := xBookmarkFileSetAppInfo(x.GoPointer(), UriVar, NameVar, ExecVar, CountVar, StampVar, &cerr) | ||
| @@ -769,7 +769,7 @@ func (x *BookmarkFile) SetMimeType(UriVar string, MimeTypeVar string) { | |||||
| 769 | 769 | ||||
| 770 | } | 770 | } | ||
| 771 | 771 | ||||
| 772 | - | var xBookmarkFileSetModified func(uintptr, string, time_t) | 772 | + | var xBookmarkFileSetModified func(uintptr, string, int) |
| 773 | 773 | ||||
| 774 | // Sets the last time the bookmark for @uri was last modified. | 774 | // Sets the last time the bookmark for @uri was last modified. | ||
| 775 | // | 775 | // | ||
| @@ -779,7 +779,7 @@ var xBookmarkFileSetModified func(uintptr, string, time_t) | |||||
| 779 | // was actually changed. Every function of #GBookmarkFile that | 779 | // was actually changed. Every function of #GBookmarkFile that | ||
| 780 | // modifies a bookmark also changes the modification time, except for | 780 | // modifies a bookmark also changes the modification time, except for | ||
| 781 | // g_bookmark_file_set_visited_date_time(). | 781 | // g_bookmark_file_set_visited_date_time(). | ||
| 782 | - | func (x *BookmarkFile) SetModified(UriVar string, ModifiedVar time_t) { | 782 | + | func (x *BookmarkFile) SetModified(UriVar string, ModifiedVar int) { |
| 783 | 783 | ||||
| 784 | xBookmarkFileSetModified(x.GoPointer(), UriVar, ModifiedVar) | 784 | xBookmarkFileSetModified(x.GoPointer(), UriVar, ModifiedVar) | ||
| 785 | 785 | ||||
| @@ -815,7 +815,7 @@ func (x *BookmarkFile) SetTitle(UriVar string, TitleVar string) { | |||||
| 815 | 815 | ||||
| 816 | } | 816 | } | ||
| 817 | 817 | ||||
| 818 | - | var xBookmarkFileSetVisited func(uintptr, string, time_t) | 818 | + | var xBookmarkFileSetVisited func(uintptr, string, int) |
| 819 | 819 | ||||
| 820 | // Sets the time the bookmark for @uri was last visited. | 820 | // Sets the time the bookmark for @uri was last visited. | ||
| 821 | // | 821 | // | ||
| @@ -826,7 +826,7 @@ var xBookmarkFileSetVisited func(uintptr, string, time_t) | |||||
| 826 | // or by the default application for the bookmark's MIME type, retrieved | 826 | // or by the default application for the bookmark's MIME type, retrieved | ||
| 827 | // using g_bookmark_file_get_mime_type(). Changing the "visited" time | 827 | // using g_bookmark_file_get_mime_type(). Changing the "visited" time | ||
| 828 | // does not affect the "modified" time. | 828 | // does not affect the "modified" time. | ||
| 829 | - | func (x *BookmarkFile) SetVisited(UriVar string, VisitedVar time_t) { | 829 | + | func (x *BookmarkFile) SetVisited(UriVar string, VisitedVar int) { |
| 830 | 830 | ||||
| 831 | xBookmarkFileSetVisited(x.GoPointer(), UriVar, VisitedVar) | 831 | xBookmarkFileSetVisited(x.GoPointer(), UriVar, VisitedVar) | ||
| 832 | 832 | ||||
M v4/glib/gdate.go +2 -2
| @@ -405,7 +405,7 @@ func (x *Date) SetTime(TimeVar Time) { | |||
| 405 | 405 | ||
| 406 | 406 | } | |
| 407 | 407 | ||
| 408 | - | var xDateSetTimeT func(uintptr, time_t) | |
| 408 | + | var xDateSetTimeT func(uintptr, int) | |
| 409 | 409 | ||
| 410 | 410 | // Sets the value of a date to the date corresponding to a time | |
| 411 | 411 | // specified as a time_t. The time to date conversion is done using | |
| @@ -420,7 +420,7 @@ var xDateSetTimeT func(uintptr, time_t) | |||
| 420 | 420 | // g_date_set_time_t (date, now); | |
| 421 | 421 | // | |
| 422 | 422 | // ]| | |
| 423 | - | func (x *Date) SetTimeT(TimetVar time_t) { | |
| 423 | + | func (x *Date) SetTimeT(TimetVar int) { | |
| 424 | 424 | ||
| 425 | 425 | xDateSetTimeT(x.GoPointer(), TimetVar) | |
| 426 | 426 | ||
| @@ -405,7 +405,7 @@ func (x *Date) SetTime(TimeVar Time) { | |||||
| 405 | 405 | ||||
| 406 | } | 406 | } | ||
| 407 | 407 | ||||
| 408 | - | var xDateSetTimeT func(uintptr, time_t) | 408 | + | var xDateSetTimeT func(uintptr, int) |
| 409 | 409 | ||||
| 410 | // Sets the value of a date to the date corresponding to a time | 410 | // Sets the value of a date to the date corresponding to a time | ||
| 411 | // specified as a time_t. The time to date conversion is done using | 411 | // specified as a time_t. The time to date conversion is done using | ||
| @@ -420,7 +420,7 @@ var xDateSetTimeT func(uintptr, time_t) | |||||
| 420 | // g_date_set_time_t (date, now); | 420 | // g_date_set_time_t (date, now); | ||
| 421 | // | 421 | // | ||
| 422 | // ]| | 422 | // ]| | ||
| 423 | - | func (x *Date) SetTimeT(TimetVar time_t) { | 423 | + | func (x *Date) SetTimeT(TimetVar int) { |
| 424 | 424 | ||||
| 425 | xDateSetTimeT(x.GoPointer(), TimetVar) | 425 | xDateSetTimeT(x.GoPointer(), TimetVar) | ||
| 426 | 426 | ||||