Skip to content
  • jacob berkman's avatar
    clean up in preparation for a release some time this week · 213d281d
    jacob berkman authored
    2001-08-01  jacob berkman  <jacob@ximian.com>
    
    	* various: clean up in preparation for a release some time this
    	week
    
    	* tests/test-file-sel.c: do the release / unref stuff with the
    	event sources
    
    	* fsel/file-selector.c (custom_shortcut_bar_new): free the file
    	name
    	(flist_listener_cb): free the type / subtype
    	(add_cf_listener): retain references to the event source and
    	listener id
    	(free_kit): unregister our listener and release our event source
    	(file_selector_destroy): actually free some things
    	(file_selector_class_init): initialize glade
    	(create_file_selector): move the factory stuff here
    
    	* flist/flist.c (flist_destroy): free / unref a lot of things we
    	didn't use to
    	(flist_uri_requested): take a request type arg
    	(flist_class_init): print how long it takes gnome-vfs to
    	initialize
    	(create_flist): move the factory activation here
    
    	* flist/flist-table.c (et_destroy):
    	(flist_table_new):
    	* flist/flist-icon-list.c (destroy_cb):
    	(flist_icon_list_new): use bonobo_object ref/unref rather than
    	gtk_object
    
    	* flist/flist-entry.c (flist_entry_free): new function that gets
    	called by the flist, rather than hooking to our widget's destroy
    	signal which doesn't work right at all
    
    	* flist/flist-dir.c (flist_dir_free): free the entries, rather
    	than clearing the view (since the view may be destroyed at this
    	point)
    
    	* flist/: remove unused files
    
    	* doc/bonobo-file-selector.sgml: added some sections on memory
    	management, and cleaned up some of the sgml and code examples
    
    	* doc/file-sel-demo.c (listener_cb): keep references to some of
    	the objects we create around and fix a memory leak or two
    	(load_file): ditto
    	(create_main_window): same
    	(cleanup_objects): release references to things we've created and
    	such
    213d281d
This project is licensed under the GNU Lesser General Public License v2.1 only. Learn more