mirror of
https://github.com/brl/mutter.git
synced 2024-11-26 10:00:45 -05:00
d2c41502a4
This commit pushes --disable-glib to the extreme of embedding the par of glib cogl depends on in tree to be able to generate a DSO that does not depend on an external glib. To do so, it: - keeps a lot of glib's configure.ac in as-glibconfig.m4 - pulls the code cogl depends on and the necessary dependencies Reviewed-by: Robert Bragg <robert@linux.intel.com>
32 lines
857 B
C
32 lines
857 B
C
#include "gstrfuncs.h"
|
|
#include "gconvert.h"
|
|
|
|
gchar*
|
|
g_convert_with_fallback (const gchar *str,
|
|
gssize len,
|
|
const gchar *to_codeset,
|
|
const gchar *from_codeset,
|
|
const gchar *fallback,
|
|
gsize *bytes_read,
|
|
gsize *bytes_written,
|
|
GError **error)
|
|
{
|
|
return g_strdup(str);
|
|
}
|
|
|
|
gchar*
|
|
g_locale_to_utf8 (const gchar *opsysstring,
|
|
gssize len,
|
|
gsize *bytes_read,
|
|
gsize *bytes_written,
|
|
GError **error)
|
|
{
|
|
return g_strdup(opsysstring);
|
|
}
|
|
|
|
gchar *
|
|
g_filename_display_name (const gchar *filename)
|
|
{
|
|
return g_strdup(filename);
|
|
}
|