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
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem:
47 - 19 = ?
Subscribe to this entry?

 
 [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

Add a Patch

Pull Requests

Add a Pull Request

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: Sat Apr 20 00:01:27 2024 UTC