*
* Get the text currently set on the @source.
*
- * Returns: (transfer none): The text currently set on the @source.
+ * Returns: (transfer full): The text currently set on the @source.
+ *
+ * Deprecated: 1.16: Use ges_timeline_element_get_child_property instead
+ * (this actually returns a newly allocated string)
*/
const gchar *
ges_title_source_get_text (GESTitleSource * source)
*
* Get the pango font description used by @source.
*
- * Returns: (transfer none): The pango font description used by this
+ * Returns: (transfer full): The pango font description used by this
* @source.
+ *
+ * Deprecated: 1.16: Use ges_timeline_element_get_child_property instead
+ * (this actually returns a newly allocated string)
*/
const gchar *
ges_title_source_get_font_desc (GESTitleSource * source)
track_element =
ges_clip_find_track_element (GES_CLIP (source), v, GES_TYPE_TITLE_SOURCE);
- /* Check the text is still the same */
- assert_equals_string (ges_title_source_get_text (GES_TITLE_SOURCE
- (track_element)), "some text");
-
/* test the font-desc property */
g_object_set (source, "font-desc", (gchar *) "sans 72", NULL);
g_object_get (source, "font-desc", &text, NULL);
assert_equals_string ("sans 72", text);
g_free (text);
- assert_equals_string ("sans 72",
- ges_title_source_get_font_desc (GES_TITLE_SOURCE (track_element)));
-
/* test halign and valign */
g_object_set (source, "halignment", (gint)
GES_TEXT_HALIGN_LEFT, "valignment", (gint) GES_TEXT_VALIGN_TOP, NULL);