Changeset 2041
- Timestamp:
- 02/18/10 23:04:06 (5 months ago)
- Files:
-
- 1 modified
-
trunk/src/e2_main.c (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/e2_main.c
r1962 r2041 748 748 //do this before bars/menus created 749 749 e2_plugins_load_all (); // load plugins specified in the config data 750 //some of these are used during pane creation 751 #ifdef E2_VFS 752 app.vdir_cache = g_hash_table_new_full (e2_fileview_vdir_hash, 753 e2_fileview_vdir_equal, e2_fieview_vdir_free, NULL); //uses same data for key and value 754 #endif 755 app.dir_history = g_hash_table_new_full ( 756 #ifdef E2_VFS 757 g_direct_hash, g_direc_equal, NULL, 758 #else 759 g_str_hash, g_str_equal, g_free, 760 #endif 761 e2_fileview_clean1_history 762 ); 750 763 751 764 //create and show the main window before the filelist creation (in case there's a big delay) … … 786 799 e2_mousebinding_register_all (); //includes gestures if relevant 787 800 #endif 788 789 #ifdef E2_VFS790 app.vdir_cache = g_hash_table_new_full (e2_fileview_vdir_hash,791 e2_fileview_vdir_equal, e2_fieview_vdir_free, NULL); //uses same data for key and value792 #endif793 app.dir_history = g_hash_table_new_full (794 #ifdef E2_VFS795 g_direct_hash, g_direc_equal, NULL,796 #else797 g_str_hash, g_str_equal, g_free,798 #endif799 e2_fileview_clean1_history800 );801 801 //session-starts with BGL closed 802 802 // gdk_threads_leave (); … … 1047 1047 // printd (DEBUG, "clear dirs hash"); 1048 1048 g_hash_table_destroy (app.dir_history); 1049 g_list_free (app.pane1.opendirs); // this for non-cached list withoutheaped data1049 g_list_free (app.pane1.opendirs); //does not have heaped data 1050 1050 g_list_free (app.pane2.opendirs); //ditto 1051 1051 /* printd (DEBUG, "clean bookmarks");