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