CVSROOT: /cvs/gnome Module name: gnome-screensaver Changes by: mccann 05/10/28 11:08:42
Modified files: . : ChangeLog src : gs-job.c Log message: 2005-10-28 William Jon McCann <[EMAIL PROTECTED]> * src/gs-job.c (find_info_for_id, gs_job_get_theme_info_list): Unref the root directory. (add_known_engine_locations_to_path): Only add the the known locations to the path once or else we leak like hell. (get_themes_tree): Make the gmenu-tree a static global so that we don't have to recreate it with every job. This is more efficient and safer in case the tree leaks say, FAM fds. Also strip out all the logic for rescanning dirs. (gs_job_lookup_theme_info, gs_job_get_theme_info_list): Use get_themes_tree. (gs_job_init): Don't add the known locations to the path here. Add them the one type we instantiate a gmenu-tree. (gs_job_finalize): Removed unreffing of gmenu-tree. URL : http://cvs.gnome.org/bonsai/cvsquery.cgi?branch=&dir=gnome-screensaver&who=mccann&date=explicit&mindate=2005-10-28%2011:07&maxdate=2005-10-28%2011:09 _______________________________________________ cvs-commits-list mailing list cvs-commits-list@gnome.org http://mail.gnome.org/mailman/listinfo/cvs-commits-list