[haiku-commits] r37166 - haiku/trunk/src/apps/showimage
- From: superstippi@xxxxxx
- To: haiku-commits@xxxxxxxxxxxxx
- Date: Fri, 18 Jun 2010 18:22:07 +0200 (CEST)
Author: stippi
Date: 2010-06-18 18:22:07 +0200 (Fri, 18 Jun 2010)
New Revision: 37166
Changeset: http://dev.haiku-os.org/changeset/37166/haiku
Modified:
haiku/trunk/src/apps/showimage/ShowImageView.cpp
haiku/trunk/src/apps/showimage/ShowImageView.h
Log:
Removed one liner function that was only called from one place.
Modified: haiku/trunk/src/apps/showimage/ShowImageView.cpp
===================================================================
--- haiku/trunk/src/apps/showimage/ShowImageView.cpp 2010-06-18 09:16:05 UTC
(rev 37165)
+++ haiku/trunk/src/apps/showimage/ShowImageView.cpp 2010-06-18 16:22:07 UTC
(rev 37166)
@@ -379,13 +379,6 @@
void
-ShowImageView::_AddToRecentDocuments()
-{
- be_roster->AddToRecentDocuments(&fCurrentRef, kApplicationSignature);
-}
-
-
-void
ShowImageView::_DeleteScaler()
{
if (fScaler) {
@@ -549,7 +542,7 @@
fCaption << ", " << fImageType;
fZoom = 1.0;
- _AddToRecentDocuments();
+ be_roster->AddToRecentDocuments(&fCurrentRef, kApplicationSignature);
_Notify();
return B_OK;
Modified: haiku/trunk/src/apps/showimage/ShowImageView.h
===================================================================
--- haiku/trunk/src/apps/showimage/ShowImageView.h 2010-06-18 09:16:05 UTC
(rev 37165)
+++ haiku/trunk/src/apps/showimage/ShowImageView.h 2010-06-18 16:22:07 UTC
(rev 37166)
@@ -156,7 +156,6 @@
void
_SendMessageToWindow(uint32 code);
void _Notify();
void _UpdateStatusText();
- void _AddToRecentDocuments();
void _AddWhiteRect(BRect&
rect);
void _GetMergeRects(BBitmap*
merge,
BRect
selection, BRect& srcRect,
Other related posts:
- » [haiku-commits] r37166 - haiku/trunk/src/apps/showimage - superstippi