[ease] [general] Remove slide "title" property.
- From: Nate Stedman <natesm src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [ease] [general] Remove slide "title" property.
- Date: Sat, 7 Aug 2010 21:09:43 +0000 (UTC)
commit bbab190a6d180bc9ea4fc29eb111a62222551e7d
Author: Nate Stedman <natesm gmail com>
Date: Sat Aug 7 17:09:11 2010 -0400
[general] Remove slide "title" property.
Fixes null string errors when saving.
ease-core/ease-document.vala | 19 -------------------
ease-core/ease-slide.vala | 8 --------
2 files changed, 0 insertions(+), 27 deletions(-)
---
diff --git a/ease-core/ease-document.vala b/ease-core/ease-document.vala
index 58e8886..12d9306 100644
--- a/ease-core/ease-document.vala
+++ b/ease-core/ease-document.vala
@@ -373,25 +373,6 @@ public class Ease.Document : GLib.Object, UndoSource
}
/**
- * Finds a { link Slide} by its "title" property.
- *
- * @param id The title to search for.
- */
- public Slide? slide_by_title(string title)
- {
- Slide s;
- foreach (var itr in slides)
- {
- slides.get(itr, COL_SLIDE, out s);
- if (s.title == title)
- {
- return s;
- }
- }
- return null;
- }
-
- /**
* Updates a slide's title.
*/
internal void on_title_changed(Slide slide, string title)
diff --git a/ease-core/ease-slide.vala b/ease-core/ease-slide.vala
index 2ea4b8b..5df626e 100644
--- a/ease-core/ease-slide.vala
+++ b/ease-core/ease-slide.vala
@@ -85,11 +85,6 @@ public class Ease.Slide : GLib.Object, UndoSource
}
/**
- * The title of this Slide's master (unless the Slide is a master itself)
- */
- public string title { get; set; }
-
- /**
* The { link Document} that this Slide is part of
*/
internal Document parent { get; set; }
@@ -256,8 +251,6 @@ public class Ease.Slide : GLib.Object, UndoSource
advance_delay =
obj.get_string_member("advance_delay").to_double();
- title = obj.get_string_member("title");
-
// read the slide's background properties
if (obj.has_member(Theme.BACKGROUND_IMAGE))
{
@@ -324,7 +317,6 @@ public class Ease.Slide : GLib.Object, UndoSource
obj.set_string_member("automatically_advance",
automatically_advance.to_string());
obj.set_string_member("advance_delay", advance_delay.to_string());
- obj.set_string_member("title", title);
// write the slide's background properties
if (background.image.filename != null)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]