pkgsrc/games/boson/patches/patch-ac
joerg 224265f728 removeItem and appendItem are the public functions, so use them.
Remove unnecessary class reference in a nested class declaration.
Fixes build with GCC 3.4.
2006-06-21 20:46:28 +00:00

19 lines
478 B
Text

$NetBSD: patch-ac,v 1.1 2006/06/21 20:46:28 joerg Exp $
--- boson/bosoncanvas.cpp.orig 2006-06-21 17:58:06.000000000 +0000
+++ boson/bosoncanvas.cpp
@@ -911,12 +911,12 @@ unsigned int BosonCanvas::allItemsCount(
void BosonCanvas::addItem(BosonItem* item)
{
- d->mAllItems.append(item);
+ d->mAllItems.appendItem(item);
}
void BosonCanvas::removeItem(BosonItem* item)
{
- d->mAllItems.remove(item);
+ d->mAllItems.removeItem(item);
emit signalRemovedItem(item);
}