reffing/unreffing tutorial
- From: DANIELLLANO <DANIELLLANO terra es>
- To: gtk-list gnome org
- Subject: reffing/unreffing tutorial
- Date: Wed, 14 Jul 2004 18:12:56 GMT
I've seen this and I think there should be a tutorial of the
reffing/unreffing thing. Not many people including me knows how
references should be taken care of.
Is there and easy tutorial of reffing/unreffing?
Is anyone willing to make one?
On 2004-07-13 05:08:12 -0700, Mark Doliner wrote:
> Update of /cvsroot/gaim/gaim/src
> In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv24515
>
> Modified Files:
> ft.c
> Log Message:
> I changed this when I made ft.c use the request API for file selection.
> I believe this is the only change I made to dealing with reffing/unreffing.
> It might fix a crash... I'm not really sure. The ref'ing/unref'ing confuses
> me. Someone that knows what's going on should probably look at this.
>
> <ferulo> it's about a little bug on transfering file resulting on a crash
> <ferulo> This is the process:
> <ferulo> 1.- a peer sent you a file
> <ferulo> 2.- you cancel the tranfer
>
>
> Index: ft.c
> ===================================================================
> RCS file: /cvsroot/gaim/gaim/src/ft.c,v
> retrieving revision 1.60
> retrieving revision 1.61
> diff -u -d -p -r1.60 -r1.61
> --- ft.c 11 Jul 2004 20:46:28 -0000 1.60
> +++ ft.c 13 Jul 2004 12:07:53 -0000 1.61
> @@ -208,7 +208,6 @@ static int
> ask_accept_ok(GaimXfer *xfer)
> {
> gaim_xfer_request_accepted(xfer, NULL);
> - gaim_xfer_unref(xfer);
>
> return 0;
> }
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]