diff options
author | Felix Riemann <[email protected]> | 2015-01-05 19:06:26 +0100 |
---|---|---|
committer | raveit65 <[email protected]> | 2018-08-13 19:08:02 +0200 |
commit | b18e263d2e56de145d702a20a66bfca2631a65aa (patch) | |
tree | e6174dee4bf56e976a8887ccd2abc45bea7c3bc4 /src/eom-thumbnail.c | |
parent | b1fb22db626d4d1f37c70dbe75dcd05900a39af2 (diff) | |
download | eom-b18e263d2e56de145d702a20a66bfca2631a65aa.tar.bz2 eom-b18e263d2e56de145d702a20a66bfca2631a65aa.tar.xz |
EomThumbnail: Load thumbnail frame from a GResource
Also optimize the frame's filesize.
origin commit:
https://gitlab.gnome.org/GNOME/eog/commit/65720c0
Diffstat (limited to 'src/eom-thumbnail.c')
-rw-r--r-- | src/eom-thumbnail.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/eom-thumbnail.c b/src/eom-thumbnail.c index 67b7137..e4cc56a 100644 --- a/src/eom-thumbnail.c +++ b/src/eom-thumbnail.c @@ -534,6 +534,8 @@ eom_thumbnail_init (void) } if (frame == NULL) { - frame = gdk_pixbuf_new_from_file (EOM_DATA_DIR "/pixmaps/thumbnail-frame.png", NULL); + frame = gdk_pixbuf_new_from_resource ( + "/org/mate/eom/ui/pixmaps/thumbnail-frame.png", + NULL); } } |