2005-08-28 Benedikt Meurer <benny@xfce.org>
* thunar/thunar-list-model.c(thunar_list_model_sort): Use temporary storage on the stack, rather than the heap. * thunar/thunar-list-model.c: Derive from GObject rather than GtkObject, as we don't need GtkObject's features anymore in ThunarListModel. * thunar/thunar-list-model.c(thunar_list_model_class_init): Use EXO_PARAM_* macros rather than G_PARAM_*. * thunar-vfs/thunar-vfs-uri.c(thunar_vfs_uri_equal): Add a check to see whether the compared references refer to the same object, which can happen quite often (in case of a positive match). * thunar-vfs/thunar-vfs-uri.c(thunar_vfs_uri_list_to_string): Prealloc a buffer of 512 bytes for the URI list string representation. * thunar-vfs/thunar-vfs-uri.c(thunar_vfs_uri_list_free): Use g_list_foreach() to unref the URIs. * thunar/thunar-local-file.c(thunar_local_file_get_emblem_names): Properly verify the parent uri when testing for the Desktop directory. * thunar-vfs/thunar-vfs.{c,h}, thunar-vfs/Makefile.am: Drop the thunar_vfs_mime_info_get() and thunar_vfs_mime_info_get_for_file() methods, and merge the thunar-vfs-mime initialization into the thunar-vfs initialization routines. (Old svn revision: 17153)
Showing
- ChangeLog 24 additions, 0 deletionsChangeLog
- thunar-vfs/Makefile.am 0 additions, 2 deletionsthunar-vfs/Makefile.am
- thunar-vfs/thunar-vfs-mime.c 0 additions, 106 deletionsthunar-vfs/thunar-vfs-mime.c
- thunar-vfs/thunar-vfs-mime.h 0 additions, 33 deletionsthunar-vfs/thunar-vfs-mime.h
- thunar-vfs/thunar-vfs-uri.c 6 additions, 6 deletionsthunar-vfs/thunar-vfs-uri.c
- thunar-vfs/thunar-vfs.c 13 additions, 4 deletionsthunar-vfs/thunar-vfs.c
- thunar-vfs/thunar-vfs.h 0 additions, 1 deletionthunar-vfs/thunar-vfs.h
- thunar/thunar-list-model.c 29 additions, 50 deletionsthunar/thunar-list-model.c
- thunar/thunar-local-file.c 6 additions, 3 deletionsthunar/thunar-local-file.c
Loading
Please register or sign in to comment