[beast/devel: 9/35] SFI: remove unused compat code
- From: Tim Janik <timj src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [beast/devel: 9/35] SFI: remove unused compat code
- Date: Tue, 14 May 2013 19:38:40 +0000 (UTC)
commit bcfdc826ac121d814a655b05a30435bdd3f34aa8
Author: Tim Janik <timj gnu org>
Date: Sun May 12 18:43:37 2013 +0200
SFI: remove unused compat code
sfi/glib-extra.cc | 14 --------------
sfi/glib-extra.hh | 5 -----
2 files changed, 0 insertions(+), 19 deletions(-)
---
diff --git a/sfi/glib-extra.cc b/sfi/glib-extra.cc
index 38e8174..05353e0 100644
--- a/sfi/glib-extra.cc
+++ b/sfi/glib-extra.cc
@@ -152,20 +152,6 @@ g_strdup_lstrip (const gchar *string)
return NULL;
}
-#if !GLIB_CHECK_VERSION (2, 9, 0)
-const gchar*
-g_intern_string (const gchar *string)
-{
- return string ? g_quark_to_string (g_quark_from_string (string)) : NULL;
-}
-
-const gchar*
-g_intern_static_string (const gchar *string)
-{
- return string ? g_quark_to_string (g_quark_from_static_string (string)) : NULL;
-}
-#endif
-
static gchar*
delim_concat_varargs (const gchar *first_string,
gchar delim,
diff --git a/sfi/glib-extra.hh b/sfi/glib-extra.hh
index dc1c182..cde17a6 100644
--- a/sfi/glib-extra.hh
+++ b/sfi/glib-extra.hh
@@ -66,11 +66,6 @@ gchar* g_strdup_stripped (const gchar *string);
gchar* g_strdup_rstrip (const gchar *string);
gchar* g_strdup_lstrip (const gchar *string);
-#if !GLIB_CHECK_VERSION (2, 9, 0)
-const gchar* g_intern_string (const gchar *string);
-const gchar* g_intern_static_string (const gchar *string);
-#endif
-
const gchar* g_intern_strconcat (const gchar *first_string,
...) G_GNUC_NULL_TERMINATED;
const gchar* g_intern_printf (const gchar *format,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]