Re: Behaviour of getters wrt dup/ref
- From: Alexander Larsson <alexl redhat com>
- To: Behdad Esfahbod <behdad behdad org>
- Cc: gtk-devel-list <gtk-devel-list gnome org>
- Subject: Re: Behaviour of getters wrt dup/ref
- Date: Mon, 17 Sep 2007 15:44:48 +0200
On Mon, 2007-09-17 at 11:57 +0200, Alexander Larsson wrote:
> char *g_data_input_stream_get_line(...)
>
> Independent on the memory allocation properties of this it really should
> be read_line().
>
> GFileInfo *g_file_get_info (GFile *file,
> const char *attributes,
> GFileGetInfoFlags flags,
> GCancellable *cancellable,
> GError **error);
After some discussion on irc I decided that we at least should fix these
two. So, i changed all the i/o get_XXX() calls in GDataInputStreams to
be read_XXX(), and g_file_get_info() and related calls to
g_file_query_info().
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]