Move image loader helper functions from safegtk to RTImage module.

This commit is contained in:
Adam Reichold
2015-12-25 22:39:53 +01:00
parent 0b32f12f6c
commit 13ebcb0dd0
14 changed files with 253 additions and 244 deletions

View File

@@ -17,10 +17,14 @@
* along with RawTherapee. If not, see <http://www.gnu.org/licenses/>.
*/
#include "splash.h"
#include "multilangmgr.h"
#include <glib/gstdio.h>
#include "../rtengine/safegtk.h"
#include "multilangmgr.h"
#include "rtimage.h"
extern Glib::ustring argv0;
extern Glib::ustring creditsPath;
extern Glib::ustring licensePath;
@@ -29,8 +33,7 @@ extern Glib::ustring versionSuffixString;
SplashImage::SplashImage ()
{
pixbuf = safe_create_from_file ("splash.png");
pixbuf = RTImage::createFromFile ("splash.png");
set_size_request (pixbuf->get_width(), pixbuf->get_height());
}