[gjs] Do not reference deprecated GI_INFO_TYPE_ERROR_DOMAIN



commit bee69d642b9a3041511e373abe437a74aa1a6002
Author: FrÃdÃric PÃters <fpeters 0d be>
Date:   Sat Aug 13 07:45:58 2011 +0200

    Do not reference deprecated GI_INFO_TYPE_ERROR_DOMAIN
    
    https://bugzilla.gnome.org/show_bug.cgi?id=656438

 gi/boxed.c |    1 -
 gi/repo.c  |    2 --
 2 files changed, 0 insertions(+), 3 deletions(-)
---
diff --git a/gi/boxed.c b/gi/boxed.c
index 53a68f8..0d09b79 100644
--- a/gi/boxed.c
+++ b/gi/boxed.c
@@ -1128,7 +1128,6 @@ type_can_be_allocated_directly(GITypeInfo *type_info)
                 case GI_INFO_TYPE_INTERFACE:
                 case GI_INFO_TYPE_FUNCTION:
                 case GI_INFO_TYPE_CONSTANT:
-                case GI_INFO_TYPE_ERROR_DOMAIN:
                 case GI_INFO_TYPE_VALUE:
                 case GI_INFO_TYPE_SIGNAL:
                 case GI_INFO_TYPE_PROPERTY:
diff --git a/gi/repo.c b/gi/repo.c
index 5c9b3a4..88d6a24 100644
--- a/gi/repo.c
+++ b/gi/repo.c
@@ -654,8 +654,6 @@ gjs_info_type_name(GIInfoType type)
         return "INTERFACE";
     case GI_INFO_TYPE_CONSTANT:
         return "CONSTANT";
-    case GI_INFO_TYPE_ERROR_DOMAIN:
-        return "ERROR_DOMAIN";
     case GI_INFO_TYPE_UNION:
         return "UNION";
     case GI_INFO_TYPE_VALUE:



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]