[gnome-games] retro-runner: Adapt to changes in retro-gtk
- From: Adrien Plazas <aplazas src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-games] retro-runner: Adapt to changes in retro-gtk
- Date: Sun, 19 Nov 2017 14:59:25 +0000 (UTC)
commit 04000c5444c70c5f42fad4017f37dd53bc6191a4
Author: Adrien Plazas <kekun plazas laposte net>
Date: Sun Nov 19 15:47:29 2017 +0100
retro-runner: Adapt to changes in retro-gtk
Retro.CoreView.pixbuf isn't a property anymore, accessors must be used
instead.
src/retro/retro-runner.vala | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/retro/retro-runner.vala b/src/retro/retro-runner.vala
index 48c1508..cbdca3b 100644
--- a/src/retro/retro-runner.vala
+++ b/src/retro/retro-runner.vala
@@ -499,7 +499,7 @@ public class Games.RetroRunner : Object, Runner {
if (!core.get_can_access_state ())
return;
- var pixbuf = view.pixbuf;
+ var pixbuf = view.get_pixbuf ();
if (pixbuf == null)
return;
@@ -538,7 +538,7 @@ public class Games.RetroRunner : Object, Runner {
return;
var pixbuf = new Gdk.Pixbuf.from_file (screenshot_path);
- view.pixbuf = pixbuf;
+ view.set_pixbuf (pixbuf);
}
private bool on_shutdown () {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]