mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-11-10 03:16:17 +01:00
String fixes
svn path=/trunk/; revision=6370
This commit is contained in:
parent
c3d7de6859
commit
af7645a498
@ -1,3 +1,11 @@
|
||||
2008-01-25 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
* ginputstream.c:
|
||||
* goutputstream.c:
|
||||
* gbufferedinputstream.c:
|
||||
* glocalfile.c: String improvements. (#511966,
|
||||
Theppitak Karoonboonyanan)
|
||||
|
||||
2008-01-24 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
* gioscheduler.h: Expand docs a bit.
|
||||
|
@ -480,7 +480,8 @@ g_buffered_input_stream_fill_async (GBufferedInputStream *stream,
|
||||
callback,
|
||||
user_data,
|
||||
G_IO_ERROR, G_IO_ERROR_INVALID_ARGUMENT,
|
||||
_("Too large count value passed to g_input_stream_read_async"));
|
||||
_("Too large count value passed to %s"),
|
||||
G_GNUC_PRETTY_FUNCTION);
|
||||
return;
|
||||
}
|
||||
|
||||
|
@ -183,7 +183,8 @@ g_input_stream_read (GInputStream *stream,
|
||||
if (((gssize) count) < 0)
|
||||
{
|
||||
g_set_error (error, G_IO_ERROR, G_IO_ERROR_INVALID_ARGUMENT,
|
||||
_("Too large count value passed to g_input_stream_read"));
|
||||
_("Too large count value passed to %s"),
|
||||
G_GNUC_PRETTY_FUNCTION);
|
||||
return -1;
|
||||
}
|
||||
|
||||
@ -315,7 +316,8 @@ g_input_stream_skip (GInputStream *stream,
|
||||
if (((gssize) count) < 0)
|
||||
{
|
||||
g_set_error (error, G_IO_ERROR, G_IO_ERROR_INVALID_ARGUMENT,
|
||||
_("Too large count value passed to g_input_stream_skip"));
|
||||
_("Too large count value passed to %s"),
|
||||
G_GNUC_PRETTY_FUNCTION);
|
||||
return -1;
|
||||
}
|
||||
|
||||
@ -556,7 +558,8 @@ g_input_stream_read_async (GInputStream *stream,
|
||||
callback,
|
||||
user_data,
|
||||
G_IO_ERROR, G_IO_ERROR_INVALID_ARGUMENT,
|
||||
_("Too large count value passed to g_input_stream_read_async"));
|
||||
_("Too large count value passed to %s"),
|
||||
G_GNUC_PRETTY_FUNCTION);
|
||||
return;
|
||||
}
|
||||
|
||||
@ -680,7 +683,8 @@ g_input_stream_skip_async (GInputStream *stream,
|
||||
callback,
|
||||
user_data,
|
||||
G_IO_ERROR, G_IO_ERROR_INVALID_ARGUMENT,
|
||||
_("Too large count value passed to g_input_stream_skip_async"));
|
||||
_("Too large count value passed to %s"),
|
||||
G_GNUC_PRETTY_FUNCTION);
|
||||
return;
|
||||
}
|
||||
|
||||
|
@ -1626,7 +1626,7 @@ g_local_file_trash (GFile *file,
|
||||
|
||||
g_set_error (error, G_IO_ERROR,
|
||||
g_io_error_from_errno (errno),
|
||||
_("Unable to create trashed file: %s"),
|
||||
_("Unable to create trashing info file: %s"),
|
||||
g_strerror (errno));
|
||||
return FALSE;
|
||||
}
|
||||
|
@ -190,7 +190,8 @@ g_output_stream_write (GOutputStream *stream,
|
||||
if (((gssize) count) < 0)
|
||||
{
|
||||
g_set_error (error, G_IO_ERROR, G_IO_ERROR_INVALID_ARGUMENT,
|
||||
_("Too large count value passed to g_output_stream_write"));
|
||||
_("Too large count value passed to %s"),
|
||||
G_GNUC_PRETTY_FUNCTION);
|
||||
return -1;
|
||||
}
|
||||
|
||||
@ -644,7 +645,8 @@ g_output_stream_write_async (GOutputStream *stream,
|
||||
callback,
|
||||
user_data,
|
||||
G_IO_ERROR, G_IO_ERROR_INVALID_ARGUMENT,
|
||||
_("Too large count value passed to g_output_stream_write_async"));
|
||||
_("Too large count value passed to %s"),
|
||||
G_GNUC_PRETTY_FUNCTION);
|
||||
return;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user