Gtkmm-forge digest, Vol 1 #1018 - 2 msgs



Send Gtkmm-forge mailing list submissions to
	gtkmm-forge lists sourceforge net

To subscribe or unsubscribe via the World Wide Web, visit
	https://lists.sourceforge.net/lists/listinfo/gtkmm-forge
or, via email, send a message with subject or body 'help' to
	gtkmm-forge-request lists sourceforge net

You can reach the person managing the list at
	gtkmm-forge-admin lists sourceforge net

When replying, please edit your Subject line so it is more specific
than "Re: Contents of Gtkmm-forge digest..."


gtkmm-forge is the mailing list that receives gtkmm bug reports from bugzilla.  A daily digest is sent to gtkmm-main, to encourage people to help fixing the bugs. Do not try to unsubscribe gtkmm-forge from gtkmm-list.


Today's Topics:

   1. [Bug 323920] Passing a Gdk::Cursor by reference is wrapped incorrectly (gtkmm (bugzilla.gnome.org))
   2. [Bug 323920] New: Passing a Gdk::Cursor by reference is wrapped incorrectly (gtkmm (bugzilla.gnome.org))

--__--__--

Message: 1
From: "gtkmm (bugzilla.gnome.org)" <bugzilla-daemon bugzilla gnome org>
To: gtkmm-forge lists sourceforge net
Date: Mon, 12 Dec 2005 14:59:23 -0500 (EST)
Subject: [gtkmm bugzilla] [Bug 323920] Passing a Gdk::Cursor by reference is wrapped incorrectly

Do not reply to this via email (we are currently unable to handle email
responses and they get discarded).  You can add comments to this bug at
http://bugzilla.gnome.org/show_bug.cgi?id=3D323920
 gtkmm | general | Ver: 2.8.x

Philip Langdale changed:

           What    |Removed                     |Added
-------------------------------------------------------------------------=
---
             Status|UNCONFIRMED                 |NEW
      everconfirmed|0                           |1



------- You are receiving this mail because: -------
You are the assignee for the bug.


--__--__--

Message: 2
From: "gtkmm (bugzilla.gnome.org)" <bugzilla-daemon bugzilla gnome org>
To: gtkmm-forge lists sourceforge net
Date: Mon, 12 Dec 2005 14:58:51 -0500 (EST)
Subject: [gtkmm bugzilla] [Bug 323920] New: Passing a Gdk::Cursor by reference is wrapped incorrectly

Do not reply to this via email (we are currently unable to handle email
responses and they get discarded).  You can add comments to this bug at
http://bugzilla.gnome.org/show_bug.cgi?id=3D323920
 gtkmm | general | Ver: 2.8.x

           Summary: Passing a Gdk::Cursor by reference is wrapped
                    incorrectly
           Product: gtkmm
           Version: 2.8.x
          Platform: Other
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: Normal
         Component: general
        AssignedTo: gtkmm-forge lists sourceforge net
        ReportedBy: plangdale vmware com
                CC: all-bugs bugzilla gnome org


Valgrind found a leak.

convert_gdk.m4 says:

dnl TODO: Should this always be a copy?
_CONVERSION(const Cursor&,GdkCursor*,($3).gobj_copy())

The answer is no. In fact, it should never be a copy. A cursor is only pa=
ssed to
two functions in gdk, and in both cases, the functions are sanely written=
 and
addref the cursor as appropriate. Obviously, this means that the ref adde=
d by
the copy is then leaked.

Consequently, the conversion should just be to ($3).gobj()

------- You are receiving this mail because: -------
You are the assignee for the bug.



--__--__--

_______________________________________________
Gtkmm-forge mailing list
Gtkmm-forge lists sourceforge net
https://lists.sourceforge.net/lists/listinfo/gtkmm-forge


End of Gtkmm-forge Digest



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]