Move image loader helper functions from safegtk to RTImage module.
This commit is contained in:
@@ -17,8 +17,9 @@
|
||||
* along with RawTherapee. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
#include "batchqueuebuttonset.h"
|
||||
|
||||
#include "multilangmgr.h"
|
||||
#include "../rtengine/safegtk.h"
|
||||
#include "rtimage.h"
|
||||
|
||||
extern Glib::ustring argv0;
|
||||
|
||||
@@ -32,9 +33,9 @@ BatchQueueButtonSet::BatchQueueButtonSet (BatchQueueEntry* myEntry)
|
||||
{
|
||||
|
||||
if (!iconsLoaded) {
|
||||
cancelIcon = safe_create_from_png ("gtk-close.png");
|
||||
headIcon = safe_create_from_png ("toleftend.png");
|
||||
tailIcon = safe_create_from_png ("torightend.png");
|
||||
cancelIcon = RTImage::createFromPng ("gtk-close.png");
|
||||
headIcon = RTImage::createFromPng ("toleftend.png");
|
||||
tailIcon = RTImage::createFromPng ("torightend.png");
|
||||
iconsLoaded = true;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user