[gtk+/gtk-3-4] gtk_entry_[get|set]_inner_border(): Clarify the deprecation docs.



commit c5c79cb55076477c1c99268a0556fb01742571f6
Author: Josà Alburquerque <jaalburqu svn gnome org>
Date:   Sun May 6 15:08:23 2012 -0400

    gtk_entry_[get|set]_inner_border(): Clarify the deprecation docs.

 gtk/gtkentry.c |   25 +++++++++++++++----------
 1 files changed, 15 insertions(+), 10 deletions(-)
---
diff --git a/gtk/gtkentry.c b/gtk/gtkentry.c
index 28bf32b..f5fa92d 100644
--- a/gtk/gtkentry.c
+++ b/gtk/gtkentry.c
@@ -790,8 +790,9 @@ gtk_entry_class_init (GtkEntryClass *class)
    *
    * Sets the text area's border between the text and the frame.
    *
-   * Deprecated: 3.4: Use the standard border and padding CSS properties;
-   *   the value of this style property is ignored.
+   * Deprecated: 3.4: Use the standard border and padding CSS properties
+   *   (through objects like #GtkStyleContext and #GtkCssProvider); the value
+   *   of this style property is ignored.
    */
   g_object_class_install_property (gobject_class,
                                    PROP_INNER_BORDER,
@@ -1379,8 +1380,9 @@ gtk_entry_class_init (GtkEntryClass *class)
    *
    * Since: 2.16
    *
-   * Deprecated: 3.4: Use the standard margin CSS property;
-   *   the value of this style property is ignored.
+   * Deprecated: 3.4: Use the standard margin CSS property (through objects
+   *   like #GtkStyleContext and #GtkCssProvider); the value of this style
+   *   property is ignored.
    */
   gtk_widget_class_install_style_property (widget_class,
 					   g_param_spec_boxed ("progress-border",
@@ -1875,8 +1877,9 @@ gtk_entry_class_init (GtkEntryClass *class)
    *
    * Since: 2.10
    *
-   * Deprecated: 3.4: Use the standard border and padding CSS properties;
-   *   the value of this style property is ignored.
+   * Deprecated: 3.4: Use the standard border and padding CSS properties
+   *   (through objects like #GtkStyleContext and #GtkCssProvider); the value
+   *   of this style property is ignored.
    */
   gtk_widget_class_install_style_property (widget_class,
 					   g_param_spec_boxed ("inner-border",
@@ -7331,8 +7334,9 @@ gtk_entry_get_has_frame (GtkEntry *entry)
  *
  * Since: 2.10
  *
- * Deprecated: 3.4: Use the standard border and padding CSS properties;
- *   the value set with this function is ignored by #GtkEntry.
+ * Deprecated: 3.4: Use the standard border and padding CSS properties (through
+ *   objects like #GtkStyleContext and #GtkCssProvider); the value set with
+ *   this function is ignored by #GtkEntry.
  **/
 void
 gtk_entry_set_inner_border (GtkEntry        *entry,
@@ -7354,8 +7358,9 @@ gtk_entry_set_inner_border (GtkEntry        *entry,
  *
  * Since: 2.10
  *
- * Deprecated: 3.4: Use the standard border and padding CSS properties;
- *   the value returned by this function is ignored by #GtkEntry.
+ * Deprecated: 3.4: Use the standard border and padding CSS properties (through
+ *   objects like #GtkStyleContext and #GtkCssProvider); the value returned by
+ *   this function is ignored by #GtkEntry.
  **/
 const GtkBorder *
 gtk_entry_get_inner_border (GtkEntry *entry)



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]