diff options
author | Parabola <dev@list.parabolagnulinux.org> | 2011-10-17 14:16:38 +0000 |
---|---|---|
committer | Parabola <dev@list.parabolagnulinux.org> | 2011-10-17 14:16:38 +0000 |
commit | e1b3d592f43a99f4ed7c91971deda6ce8414dd69 (patch) | |
tree | 38fecdc19b201d4d28df13c22e9b3b45bb469e4b /extra/libepc | |
parent | d286d980d2ff42151e9bc81ec348c864c24f9cc4 (diff) |
Mon Oct 17 14:16:38 UTC 2011
Diffstat (limited to 'extra/libepc')
-rw-r--r-- | extra/libepc/0001-Avoid-use-of-deprecated-G_CONST_RETURN.patch | 40 |
1 files changed, 0 insertions, 40 deletions
diff --git a/extra/libepc/0001-Avoid-use-of-deprecated-G_CONST_RETURN.patch b/extra/libepc/0001-Avoid-use-of-deprecated-G_CONST_RETURN.patch deleted file mode 100644 index 5352688a2..000000000 --- a/extra/libepc/0001-Avoid-use-of-deprecated-G_CONST_RETURN.patch +++ /dev/null @@ -1,40 +0,0 @@ -From 715c6ddf3de90936c9ba7a6bb6904b7072d3b241 Mon Sep 17 00:00:00 2001 -From: Ionut Biru <ibiru@archlinux.org> -Date: Fri, 30 Sep 2011 10:57:14 +0000 -Subject: [PATCH] Avoid use of deprecated G_CONST_RETURN - -Signed-off-by: Ionut Biru <ibiru@archlinux.org> ---- - libepc/enums.c.in | 2 +- - libepc/enums.h.in | 2 +- - 2 files changed, 2 insertions(+), 2 deletions(-) - -diff --git a/libepc/enums.c.in b/libepc/enums.c.in -index 75f737c..bc81b84 100644 ---- a/libepc/enums.c.in -+++ b/libepc/enums.c.in -@@ -65,7 +65,7 @@ G@Type@Class* - * - * Returns: The string representation of @value, or %NULL. - */ --G_CONST_RETURN gchar* -+const gchar* - @enum_name@_to_string (@EnumName@ value) - { - const G@Type@Value *@type@_value = g_@type@_get_value (@enum_name@_get_class (), value); -diff --git a/libepc/enums.h.in b/libepc/enums.h.in -index fea8b07..48973e5 100644 ---- a/libepc/enums.h.in -+++ b/libepc/enums.h.in -@@ -19,7 +19,7 @@ G_BEGIN_DECLS - - GType @enum_name@_get_type (void) G_GNUC_CONST; - G@Type@Class* @enum_name@_get_class (void) G_GNUC_CONST; --G_CONST_RETURN gchar* @enum_name@_to_string (@EnumName@ value) G_GNUC_PURE; -+const gchar* @enum_name@_to_string (@EnumName@ value) G_GNUC_PURE; - /*** END value-header ***/ - - /*** BEGIN file-tail ***/ --- -1.7.6.4 - |