Commit c7994562 authored by Committed by Michael Meeks
impl, split, upd. (nautilus_icon_container_get_label_color): don't fetch
2002-07-11 Michael Meeks <email@example.com> * libnautilus-private/nautilus-icon-container.c (setup_gc_with_fg, setup_label_gcs, update_label_color): impl, split, upd. (nautilus_icon_container_get_label_color): don't fetch the style for no good reason, get the colored gc from an array instead. rename to (nautilus_icon_container_get_label_color_and_gc): this (realize, unrealize): setup / free the gcs. * libnautilus-private/nautilus-icon-canvas-item.c (draw_or_measure_label_text): use cached gc(s) from the container, instead of thrashing them. (antialias_selection_rectangle): upper case, and #define since it's always true.
Showing with 115 additions and 52 deletions