summaryrefslogtreecommitdiff
path: root/gio/src/gio_enums.defs
diff options
context:
space:
mode:
authorMurray Cumming <murrayc@murrayc.com>2008-07-25 14:28:32 +0000
committerMurray Cumming <murrayc@src.gnome.org>2008-07-25 14:28:32 +0000
commit97ad951eb06384660e18a203347a733e82bb69e2 (patch)
tree2d9fc1901112d9d57a6937265877cbd1425df6df /gio/src/gio_enums.defs
parent7e9168e5f2a788959e2802f44a91d49b85605739 (diff)
downloadglibmm-97ad951eb06384660e18a203347a733e82bb69e2.tar.gz
Added the drive_eject_button signal.
2008-07-25 Murray Cumming <murrayc@murrayc.com> * gio/src/volumemonitor.hg: Added the drive_eject_button signal. 2008-07-25 Murray Cumming <murrayc@murrayc.com> * gio/src/gio_enums.defs: Hacked in a replacement enum for Gio::Error::HOST_NOT_FOUND as Gio::Error::HOST_WAS_NOT_FOUND, to avoid a clash with a netdb.h define. Bug #529496. * configure.in: * tests/Makefile.am: * tests/giomm_ioerror/Makefile.am: * tests/giomm_ioerror/main.cc: Added a test to make sure that our hacked-in enum value stays hacked in. svn path=/trunk/; revision=695
Diffstat (limited to 'gio/src/gio_enums.defs')
-rw-r--r--gio/src/gio_enums.defs7
1 files changed, 7 insertions, 0 deletions
diff --git a/gio/src/gio_enums.defs b/gio/src/gio_enums.defs
index c33a5573..3ca652f6 100644
--- a/gio/src/gio_enums.defs
+++ b/gio/src/gio_enums.defs
@@ -162,6 +162,12 @@
)
)
+; We added G_IO_ERROR_HOST_WAS_NOT_FOUND and deprecated G_IO_ERROR_HOST_WAS_NOT_FOUND,
+; because it clashes with a HOST_NOT_FOUND define in netdb.h.
+; http://bugzilla.gnome.org/show_bug.cgi?id=529496
+; We need to deprecate HOST_NOT_FOUND, but we don't currently document generated enums
+; at all: http://bugzilla.gnome.org/show_bug.cgi?id=544692
+; murrayc
(define-enum-extended IOErrorEnum
(in-module "G")
(c-name "GIOErrorEnum")
@@ -195,6 +201,7 @@
'("busy" "G_IO_ERROR_BUSY" "26")
'("would-block" "G_IO_ERROR_WOULD_BLOCK" "27")
'("host-not-found" "G_IO_ERROR_HOST_NOT_FOUND" "28")
+ '("host-was-not-found" "G_IO_ERROR_HOST_WAS_NOT_FOUND" "28")
'("would-merge" "G_IO_ERROR_WOULD_MERGE" "29")
'("failed-handled" "G_IO_ERROR_FAILED_HANDLED" "30")
)