[libchamplainmm] Label: Fix create constructor
- From: Juan R. Garcia Blanco <juanrgar src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libchamplainmm] Label: Fix create constructor
- Date: Wed, 26 Feb 2014 19:05:09 +0000 (UTC)
commit fd39c24aa5ee74912b206f426065292671710e53
Author: Juan R. GarcĂa Blanco <juanrgar gmail com>
Date: Tue Feb 25 20:25:50 2014 +0100
Label: Fix create constructor
* Remove add_actor() in Label::create(const std::string & filename)
libchamplain/src/label.ccg | 2 --
1 files changed, 0 insertions(+), 2 deletions(-)
---
diff --git a/libchamplain/src/label.ccg b/libchamplain/src/label.ccg
index d5901d1..9e577fc 100644
--- a/libchamplain/src/label.ccg
+++ b/libchamplain/src/label.ccg
@@ -36,9 +36,7 @@ Glib::RefPtr<Label> Label::create(const Glib::ustring & label,
Glib::RefPtr<Label> Label::create(const std::string & filename)
{
const Glib::RefPtr<Label> champlain_label(new Label());
- const Glib::RefPtr<Clutter::Texture> texture = Clutter::Texture::create_from_file(filename);
- champlain_label->add_actor(texture);
return champlain_label;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]