From b38fe14fe7608678e0647aadbcae0fe39d728342 Mon Sep 17 00:00:00 2001 From: Oliver Duis Date: Thu, 7 Apr 2011 21:27:35 +0200 Subject: [PATCH] Minor cleanup --- rtgui/thumbbrowserentry.cc | 5 ----- rtgui/thumbbrowserentrybase.h | 2 +- 2 files changed, 1 insertion(+), 6 deletions(-) diff --git a/rtgui/thumbbrowserentry.cc b/rtgui/thumbbrowserentry.cc index 988d588f8..7703e9775 100644 --- a/rtgui/thumbbrowserentry.cc +++ b/rtgui/thumbbrowserentry.cc @@ -27,11 +27,6 @@ FileBrowserEntry::FileBrowserEntry (Thumbnail* thm, const Glib::ustring& fname) exifline = thumbnail->getExifString (); } -void ThumbBrowserEntry::obtainThumbnailImage () { - - preview = thumbnail ? (guint8*) thumbnail->getThumbnailImage (prew, preh) : NULL; -} - void ThumbBrowserEntry::obtainThumbnailSize () { if (thumbnail) diff --git a/rtgui/thumbbrowserentrybase.h b/rtgui/thumbbrowserentrybase.h index 06552a774..4e8b94e79 100644 --- a/rtgui/thumbbrowserentrybase.h +++ b/rtgui/thumbbrowserentrybase.h @@ -40,7 +40,7 @@ protected: int sideMargin; int lowerMargin; - guint8* preview; + guint8* preview; // holds the preview image. used in updateBackBuffer. TODO Olli: Make a cache to reduce mem significantly Glib::ustring dispname;