summaryrefslogtreecommitdiffstats
path: root/gio
diff options
context:
space:
mode:
Diffstat (limited to 'gio')
-rw-r--r--gio/gio-types.defs33
1 files changed, 17 insertions, 16 deletions
diff --git a/gio/gio-types.defs b/gio/gio-types.defs
index fa80816..9b4b74c 100644
--- a/gio/gio-types.defs
+++ b/gio/gio-types.defs
@@ -14,8 +14,14 @@
(gtype-id "G_TYPE_ASYNC_RESULT")
)
+(define-interface Drive
+ (in-module "gio")
+ (c-name "GDrive")
+ (gtype-id "G_TYPE_DRIVE")
+)
+
(define-interface File
- (docstring
+ (docstring
"File(arg, path=None, uri=None) -> gio.File subclass\n"
"\n"
"If arg is specified; creates a GFile with the given argument from the\n"
@@ -36,14 +42,7 @@
(gtype-id "G_TYPE_ICON")
)
-(define-object ThemedIcon
- (in-module "gio")
- (c-name "GThemedIcon")
- (gtype-id "G_TYPE_THEMED_ICON")
- (implements "GIcon")
-)
-
-(define-object LoadableIcon
+(define-interface LoadableIcon
(in-module "gio")
(c-name "GLoadableIcon")
(gtype-id "G_TYPE_LOADABLE_ICON")
@@ -84,12 +83,6 @@
(gtype-id "G_TYPE_CANCELLABLE")
)
-(define-object Drive
- (in-module "gio")
- (c-name "GDrive")
- (gtype-id "G_TYPE_DRIVE")
-)
-
(define-object FileEnumerator
(in-module "gio")
(parent "GObject")
@@ -199,7 +192,7 @@
(in-module "gio")
(parent "GObject")
(c-name "GSimpleAsyncResult")
- (gtype-id "G_TYPE_SIMPLE_ASYNC_RESULT")
+ (gtype-id "G_TYPE_SIMPLE_ASYNC_RESULT")
)
(define-object Vfs
@@ -223,6 +216,14 @@
(gtype-id "G_TYPE_NATIVE_VOLUME_MONITOR")
)
+(define-object ThemedIcon
+ (in-module "gio")
+ (parent "GObject")
+ (c-name "GThemedIcon")
+ (gtype-id "G_TYPE_THEMED_ICON")
+ (implements "GIcon")
+)
+
;; Enumerations and flags ...
(define-flags AppInfoCreateFlags