Blame SOURCES/fix-gio-flags.patch
|
|
95d8fc |
From 42d01f060c5d764baa881d13c103d68897163a49 Mon Sep 17 00:00:00 2001
|
|
|
95d8fc |
From: Ryan Lortie <desrt@desrt.ca>
|
|
|
95d8fc |
Date: Mon, 12 Mar 2012 16:44:14 -0400
|
|
|
95d8fc |
Subject: [PATCH] gio-types.defs: change some enums to flags
|
|
|
95d8fc |
|
|
|
95d8fc |
These flags types were originally incorrectly handled in glib as being
|
|
|
95d8fc |
enums. That bug was fixed, but they're still enums here, leading to
|
|
|
95d8fc |
warnings about the mismatch.
|
|
|
95d8fc |
|
|
|
95d8fc |
Change them to flags.
|
|
|
95d8fc |
|
|
|
95d8fc |
https://bugzilla.gnome.org/show_bug.cgi?id=668522
|
|
|
95d8fc |
---
|
|
|
95d8fc |
gio/gio-types.defs | 6 +++---
|
|
|
95d8fc |
1 files changed, 3 insertions(+), 3 deletions(-)
|
|
|
95d8fc |
|
|
|
95d8fc |
diff --git a/gio/gio-types.defs b/gio/gio-types.defs
|
|
|
95d8fc |
index 331e0bc..7eee5c8 100644
|
|
|
95d8fc |
--- a/gio/gio-types.defs
|
|
|
95d8fc |
+++ b/gio/gio-types.defs
|
|
|
95d8fc |
@@ -526,7 +526,7 @@
|
|
|
95d8fc |
)
|
|
|
95d8fc |
)
|
|
|
95d8fc |
|
|
|
95d8fc |
-(define-enum MountMountFlags
|
|
|
95d8fc |
+(define-flags MountMountFlags
|
|
|
95d8fc |
(in-module "gio")
|
|
|
95d8fc |
(c-name "GMountMountFlags")
|
|
|
95d8fc |
(gtype-id "G_TYPE_MOUNT_MOUNT_FLAGS")
|
|
|
95d8fc |
@@ -545,7 +545,7 @@
|
|
|
95d8fc |
)
|
|
|
95d8fc |
)
|
|
|
95d8fc |
|
|
|
95d8fc |
-(define-enum DriveStartFlags
|
|
|
95d8fc |
+(define-flags DriveStartFlags
|
|
|
95d8fc |
(in-module "gio")
|
|
|
95d8fc |
(c-name "GDriveStartFlags")
|
|
|
95d8fc |
(gtype-id "G_TYPE_DRIVE_START_FLAGS")
|
|
|
95d8fc |
@@ -770,7 +770,7 @@
|
|
|
95d8fc |
)
|
|
|
95d8fc |
)
|
|
|
95d8fc |
|
|
|
95d8fc |
-(define-enum SocketMsgFlags
|
|
|
95d8fc |
+(define-flags SocketMsgFlags
|
|
|
95d8fc |
(in-module "gio")
|
|
|
95d8fc |
(c-name "GSocketMsgFlags")
|
|
|
95d8fc |
(gtype-id "G_TYPE_SOCKET_MSG_FLAGS")
|
|
|
95d8fc |
--
|
|
|
95d8fc |
1.7.9.1
|