opensubscriber
   Find in this group all groups
 
Unknown more information…

p : pspp-dev@gnu.org 25 April 2012 • 1:15PM -0400

Re: [PATCH 1/2] psppire-acr: Clarify acr ownership of its list store.
by Ben Pfaff

REPLY TO AUTHOR
 
REPLY TO GROUP




John Darrington <john@darr...> writes:

> On Mon, Apr 23, 2012 at 10:19:05PM -0700, Ben Pfaff wrote:
>      PsppireAcr retains a pointer to the GtkListStore inside it but it
>      -/* Set the widget's treemodel */
>      +/* Set the widget's treemodel to LISTSTORE.  LISTSTORE ownership is not
>      +   transferred. */
>       void
>       psppire_acr_set_model (PsppireAcr *acr, GtkListStore *liststore)
>       {
>      +  if (acr->list_store)
>      +    g_object_unref (liststore);
>
> I think there is a typo here ^^^

Thanks.  I changed this to g_object_unref (acr->list_store).

_______________________________________________
pspp-dev mailing list
pspp-dev@gnu....
https://lists.gnu.org/mailman/listinfo/pspp-dev

Bookmark with:

Delicious   Digg   reddit   Facebook   StumbleUpon

Related Messages

opensubscriber is not affiliated with the authors of this message nor responsible for its content.