php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #37504 Patch for GtkTreeSortable::set_(default_)sort_func
Submitted: 2006-05-18 16:03 UTC Modified: 2006-06-09 18:19 UTC
From: cweiske@php.net Assigned:
Status: Closed Package: PHP-GTK related
PHP Version: 5.1.4 OS: any
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: cweiske@php.net
New email:
PHP Version: OS:

 

 [2006-05-18 16:03 UTC] cweiske@php.net
Description:
------------
At
http://xml.cweiske.de/patches/gtktreeview.overrides.diff
is a patch that implements
GtkTreeSortable::set_sort_func
GtkTreeSortable::set_default_sort_func
and the marshaller.



Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2006-05-18 18:30 UTC] cweiske@php.net
I added GtkTreeFilterModel constructor and set_visible_func (& GtkTreeModelFilterVisibleFunc marshaller) to the patches.
 [2006-05-18 18:31 UTC] cweiske@php.net
Forgot to mention that I had to modify gtk.defs to get the filter constructor working.

http://xml.cweiske.de/patches/gtk.defs.diff
 [2006-06-04 18:04 UTC] andrei@php.net
Same things here as in another patch:

1. Put the declaration of marshaller into %headers section.

2. Assign value of retval to something before destroying it.

3. In GtkTreeModelFilter constructor, why use 'N' instead of 'V'? It's the last parameter anyway, no need to allow user to pass NULL there.

Do you remember the problem we had with the set_visible() function? The user data will not be freed and there will be a memory leak.
 [2006-06-09 18:19 UTC] cweiske@php.net
This bug has been fixed in CVS.

Snapshots of the sources are packaged every three hours; this change
will be in the next snapshot. You can grab the snapshot at
http://snaps.php.net/.
 
Thank you for the report, and for helping us make PHP better.


 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Tue Oct 08 12:01:26 2024 UTC