]> git.draconx.ca Git - gentoo-fixes.git/blob - dev-python/pygobject/files/pygobject-2.28.6-gio-types-2.32.patch
Resurrect dev-python/pygtk.
[gentoo-fixes.git] / dev-python / pygobject / files / pygobject-2.28.6-gio-types-2.32.patch
1 From 42d01f060c5d764baa881d13c103d68897163a49 Mon Sep 17 00:00:00 2001
2 From: Ryan Lortie <desrt@desrt.ca>
3 Date: Mon, 12 Mar 2012 16:44:14 -0400
4 Subject: [PATCH] gio-types.defs: change some enums to flags
5
6 These flags types were originally incorrectly handled in glib as being
7 enums.  That bug was fixed, but they're still enums here, leading to
8 warnings about the mismatch.
9
10 Change them to flags.
11
12 https://bugzilla.gnome.org/show_bug.cgi?id=668522
13 ---
14  gio/gio-types.defs |    6 +++---
15  1 files changed, 3 insertions(+), 3 deletions(-)
16
17 diff --git a/gio/gio-types.defs b/gio/gio-types.defs
18 index 331e0bc..7eee5c8 100644
19 --- a/gio/gio-types.defs
20 +++ b/gio/gio-types.defs
21 @@ -526,7 +526,7 @@
22    )
23  )
24  
25 -(define-enum MountMountFlags
26 +(define-flags MountMountFlags
27    (in-module "gio")
28    (c-name "GMountMountFlags")
29    (gtype-id "G_TYPE_MOUNT_MOUNT_FLAGS")
30 @@ -545,7 +545,7 @@
31    )
32  )
33  
34 -(define-enum DriveStartFlags
35 +(define-flags DriveStartFlags
36    (in-module "gio")
37    (c-name "GDriveStartFlags")
38    (gtype-id "G_TYPE_DRIVE_START_FLAGS")
39 @@ -770,7 +770,7 @@
40    )
41  )
42  
43 -(define-enum SocketMsgFlags
44 +(define-flags SocketMsgFlags
45    (in-module "gio")
46    (c-name "GSocketMsgFlags")
47    (gtype-id "G_TYPE_SOCKET_MSG_FLAGS")
48 -- 
49 1.7.8.5
50