Add in the new symbols

2007-11-28  Alexander Larsson  <alexl@redhat.com>

        * glib/glib.symbols:
	Add in the new symbols
	
        * glib/gurifuncs.c:
	Use the aliases framework
	
        * glib/glibintl.h:
        * glib/gutils.c:
	Make the alias stuff work now that glib_gettext
	is exported to libgio. 


svn path=/trunk/; revision=5973
This commit is contained in:
Alexander Larsson 2007-11-28 14:35:14 +00:00 committed by Alexander Larsson
parent 7f3280230b
commit 6ae887bb9b
5 changed files with 39 additions and 3 deletions

View File

@ -1,3 +1,16 @@
2007-11-28 Alexander Larsson <alexl@redhat.com>
* glib/glib.symbols:
Add in the new symbols
* glib/gurifuncs.c:
Use the aliases framework
* glib/glibintl.h:
* glib/gutils.c:
Make the alias stuff work now that glib_gettext
is exported to libgio.
2007-11-27 Ryan Lortie <desrt@desrt.ca>
* glib/ghash.c (g_hash_table_insert, g_hash_table_replace,

View File

@ -338,6 +338,7 @@ g_file_set_contents
g_file_open_tmp PRIVATE
g_file_test PRIVATE
g_file_read_link
g_format_file_size_for_display
g_mkstemp PRIVATE
g_mkdir_with_parents
#ifdef G_OS_WIN32
@ -1126,6 +1127,15 @@ g_dpgettext
#endif
#endif
#if IN_HEADER(__G_URI_FUNCS_H__)
#if IN_FILE(__G_URI_FUNCS_C__)
g_uri_unescape_string
g_uri_unescape_segment
g_uri_get_scheme
g_uri_escape_string
#endif
#endif
#if IN_HEADER(__G_STRING_H__)
#if IN_FILE(__G_STRING_C__)
g_string_append
@ -1162,6 +1172,7 @@ g_string_printf G_GNUC_PRINTF(2,3)
g_string_set_size
g_string_sized_new
g_string_truncate
g_string_append_uri_escaped
#ifndef G_DISABLE_DEPRECATED
g_string_down
g_string_up
@ -1409,6 +1420,13 @@ g_unichar_validate
#endif
#endif
#if IN_HEADER(__GLIBINTL_H__)
#if IN_FILE(__G_UTILS_C__)
glib_gettext
#endif
#endif
#if IN_HEADER(__G_HASH_H__)
#if IN_FILE(__G_UTILS_C__)
g_int_equal
@ -1557,4 +1575,3 @@ glib_minor_version
glib_on_error_halt
g_mem_gc_friendly
#endif

View File

@ -5,9 +5,9 @@
#error "config.h must be included prior to glibintl.h"
#endif
#ifdef ENABLE_NLS
G_CONST_RETURN gchar *glib_gettext (const gchar *str);
gchar *glib_gettext (const gchar *str);
#ifdef ENABLE_NLS
#include <libintl.h>
#define _(String) glib_gettext(String)

View File

@ -24,6 +24,8 @@
#include "gurifuncs.h"
#include "string.h"
#include "galias.h"
/**
* SECTION:gurifuncs
* @short_description: URI Functions
@ -217,3 +219,6 @@ g_uri_escape_string (const char *unescaped,
return g_string_free (s, FALSE);
}
#define __G_URI_FUNCS_C__
#include "galiasdef.c"

View File

@ -61,6 +61,7 @@
#include "glib.h"
#include "gprintfint.h"
#include "gthreadprivate.h"
#include "glibintl.h"
#include "galias.h"
#ifdef MAXPATHLEN