[ease/themes: 21/24] Fixed segmentation fault on Mac OS X.
- From: Nate Stedman <natesm src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [ease/themes: 21/24] Fixed segmentation fault on Mac OS X.
- Date: Wed, 21 Jul 2010 20:17:13 +0000 (UTC)
commit 2144cb1e3588bec0ceb7cab1682a9b735909da81
Author: Nate Stedman <natesm gmail com>
Date: Wed Jul 21 00:56:28 2010 -0400
Fixed segmentation fault on Mac OS X.
- Segfault came from ClutterTexture.from_file constructor,
therefore, it has been bypassed with set_from_file
- Texture loading problems still exist, but for testing
purposes, a significant improvement, needless to say
src/ease-slide-actor.vala | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
---
diff --git a/src/ease-slide-actor.vala b/src/ease-slide-actor.vala
index 8529dbd..f574265 100644
--- a/src/ease-slide-actor.vala
+++ b/src/ease-slide-actor.vala
@@ -257,8 +257,9 @@ public class Ease.SlideActor : Clutter.Group
{
try
{
- background =
- new Clutter.Texture.from_file(slide.background_abs);
+ background = new Clutter.Texture();
+ (background as Clutter.Texture).set_from_file(
+ slide.background_abs);
}
catch (GLib.Error e)
{
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]