Re: GSeekable and GBuffered{In,Out}putStream, GDataOutputStream
- From: Maciej Marcin Piechotka <uzytkownik2 gmail com>
- To: Alexander Larsson <alexl redhat com>
- Cc: gtk-devel-list gnome org
- Subject: Re: GSeekable and GBuffered{In,Out}putStream, GDataOutputStream
- Date: Thu, 29 Mar 2012 11:17:50 +0200
On Thu, 2012-03-29 at 11:11 +0200, Alexander Larsson wrote:
> On Wed, 2012-03-28 at 14:32 +0200, Maciej Marcin Piechotka wrote:
> > Hello,
> >
> > During discussion on bug #659781[1] a user stated that he cannot use
> > GDataInputStream as it does not support seeks. After quick look it seems
> > that adding support for it is relatively easy - the basic patch for
> > GBufferedInputStream is +117/-4[2].
> >
> > I can fill a full bug, test etc. but I would like to check first if it
> > wasn't a deliberate choice.
>
> There is no conceptual reason for it to no support seek (although it has
> to handle the case where the base stream can't seek), only laziness. So
> please do file a full bug!
>
>
I have filled the bug[1] and attached untested patches (my C/GObject is
very rusty so I don't know if, for example, casting macros are used
correctly).
I'll try to add tests today.
Best regards
[1] https://bugzilla.gnome.org/show_bug.cgi?id=673034
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]