mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-02-09 12:25:48 +01:00
Trivial formatting fixes
This commit is contained in:
parent
6c75ba2b90
commit
62b28546af
@ -205,9 +205,9 @@ g_charset_converter_init (GCharsetConverter *local)
|
|||||||
* Since: 2.24
|
* Since: 2.24
|
||||||
**/
|
**/
|
||||||
GCharsetConverter *
|
GCharsetConverter *
|
||||||
g_charset_converter_new (const gchar *to_charset,
|
g_charset_converter_new (const gchar *to_charset,
|
||||||
const gchar *from_charset,
|
const gchar *from_charset,
|
||||||
GError **error)
|
GError **error)
|
||||||
{
|
{
|
||||||
GCharsetConverter *conv;
|
GCharsetConverter *conv;
|
||||||
|
|
||||||
@ -236,15 +236,15 @@ g_charset_converter_reset (GConverter *converter)
|
|||||||
}
|
}
|
||||||
|
|
||||||
static GConverterResult
|
static GConverterResult
|
||||||
g_charset_converter_convert (GConverter *converter,
|
g_charset_converter_convert (GConverter *converter,
|
||||||
const void *inbuf,
|
const void *inbuf,
|
||||||
gsize inbuf_size,
|
gsize inbuf_size,
|
||||||
void *outbuf,
|
void *outbuf,
|
||||||
gsize outbuf_size,
|
gsize outbuf_size,
|
||||||
GConverterFlags flags,
|
GConverterFlags flags,
|
||||||
gsize *bytes_read,
|
gsize *bytes_read,
|
||||||
gsize *bytes_written,
|
gsize *bytes_written,
|
||||||
GError **error)
|
GError **error)
|
||||||
{
|
{
|
||||||
GCharsetConverter *conv;
|
GCharsetConverter *conv;
|
||||||
gsize res;
|
gsize res;
|
||||||
@ -430,9 +430,9 @@ g_charset_converter_iface_init (GConverterIface *iface)
|
|||||||
}
|
}
|
||||||
|
|
||||||
static gboolean
|
static gboolean
|
||||||
g_charset_converter_initable_init (GInitable *initable,
|
g_charset_converter_initable_init (GInitable *initable,
|
||||||
GCancellable *cancellable,
|
GCancellable *cancellable,
|
||||||
GError **error)
|
GError **error)
|
||||||
{
|
{
|
||||||
GCharsetConverter *conv;
|
GCharsetConverter *conv;
|
||||||
|
|
||||||
@ -447,8 +447,7 @@ g_charset_converter_initable_init (GInitable *initable,
|
|||||||
return FALSE;
|
return FALSE;
|
||||||
}
|
}
|
||||||
|
|
||||||
conv->iconv =
|
conv->iconv = g_iconv_open (conv->to, conv->from);
|
||||||
g_iconv_open (conv->to, conv->from);
|
|
||||||
|
|
||||||
if (conv->iconv == (GIConv)-1)
|
if (conv->iconv == (GIConv)-1)
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user