Differences

This shows you the differences between two versions of the page.

implementation:thunar-vfs-references-progress [2009/06/16 01:00]
jannis
implementation:thunar-vfs-references-progress [2009/06/16 01:40] (current)
jannis
Line 48: Line 48:
                                        GError            **error);                                         GError            **error);
  gboolean    thunar_file_is_loaded    (ThunarFile          *file);   gboolean    thunar_file_is_loaded    (ThunarFile          *file);
- 
- 
- 
- 
- 
- 
- 
- 
- 
- 
- 
- 
- 
- 
-==== ThunarRenamerModel ==== 
- 
-Has references to 
- 
-  * ''ThunarVfsInfo'' 
-  * ''ThunarVfsPath'' 
- 
-=== Solution === 
- 
-== ThunarRenamerModelItem == 
- 
-Change ''ThunarVfsInfo'' to ''GFileInfo''. 
- 
-== thunar_renamer_model_file_changed() == 
- 
-Don't check with ''thunar_vfs_info_matches()'' whether the file infos match  
-or not. Just copy the info from ''file'' into ''item->info''. That way we don't  
-need to call ''thunar_vfs_info_ref (thunar_file_get_info (file))'' either. 
- 
-== thunar_renamer_model_item_new() == 
- 
-Use ''g_object_ref()'' instead of ''thunar_vfs_info_ref()'' as ''thunar_file_get_info()'' returns 
-a ''GFileInfo'' instead of a ''ThunarVfsInfo'' now. 
- 
-== thunar_renamer_model_item_free() == 
- 
-Use ''g_object_unref()'' instead of ''thunar_vfs_info_unref()''. 
- 
- 
==== main.c ==== ==== main.c ====
Line 104: Line 61:
  - More?   - More?
- 
- 
===== Thunarx ===== ===== Thunarx =====
 
implementation/thunar-vfs-references-progress.txt · Last modified: 2009/06/16 01:40 by jannis
 
Except where otherwise noted, content on this wiki is licensed under the following license:CC Attribution-Noncommercial-Share Alike 3.0 Unported
Recent changes RSS feed Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki