Documentation updates
[hildon] / hildon / hildon-touch-selector-entry.c
index 98f0625..87663b7 100644 (file)
@@ -1,7 +1,7 @@
 /*
  * This file is a part of hildon
  *
- * Copyright (C) 2008 Nokia Corporation.
+ * Copyright (C) 2008, 2009 Nokia Corporation.
  *
  * This library is free software; you can redistribute it and/or
  * modify it under the terms of the GNU Lesser General Public
@@ -121,11 +121,15 @@ hildon_touch_selector_entry_class_init (HildonTouchSelectorEntryClass *klass)
   /**
    * HildonTouchSelectorEntry:text-column:
    *
-   * Deprecated: now this property is in HildonTouchSelectorColumn use
-   * hildon_touch_selector_entry_set_text_column() and
-   * hildon_touch_selector_entry_get_text_column() to manage this.
+   * A column in the data source model to get the strings from.
    *
-   * Since: 2.2
+   * This property is deprecated. Use HildonTouchSelectorColumn:text-column
+   * instead. Use hildon_touch_selector_entry_set_text_column() and
+   * hildon_touch_selector_entry_get_text_column() to manage it.
+   *
+   * Deprecated: use HildonTouchSelectorColumn:text-column instead
+   *
+   * Since: maemo 2.2
    **/
   g_object_class_install_property (G_OBJECT_CLASS (klass),
                                    PROP_TEXT_COLUMN,
@@ -289,7 +293,7 @@ hildon_touch_selector_entry_set_text_column (HildonTouchSelectorEntry *selector,
 
   column = hildon_touch_selector_get_column (HILDON_TOUCH_SELECTOR (selector), 0);
 
-  g_object_set (G_OBJECT (column), "text-column", text_column, NULL);
+  hildon_touch_selector_column_set_text_column (column, text_column);
 }
 
 /**
@@ -313,7 +317,7 @@ hildon_touch_selector_entry_get_text_column (HildonTouchSelectorEntry *selector)
   column = hildon_touch_selector_get_column (HILDON_TOUCH_SELECTOR (selector),
                                              0);
 
-  g_object_get (G_OBJECT (column), "text-column", &text_column, NULL);
+  text_column = hildon_touch_selector_column_get_text_column (column);
 
   return text_column;
 }