[gtk+] widget: Add deprecation annotations for {get, set}_margin_{left, right}



commit a5ff70f94981485442a4c49bb87cda5c34c7d9a6
Author: Debarshi Ray <debarshir gnome org>
Date:   Fri Jan 17 14:15:34 2014 +0100

    widget: Add deprecation annotations for {get,set}_margin_{left,right}
    
    Fallout from 9921bec63a3e67e2c2e38ca734590909a9f734b5

 gtk/gtkwidget.c |    8 ++++++++
 1 files changed, 8 insertions(+), 0 deletions(-)
---
diff --git a/gtk/gtkwidget.c b/gtk/gtkwidget.c
index 578ef60..a4e3632 100644
--- a/gtk/gtkwidget.c
+++ b/gtk/gtkwidget.c
@@ -14063,6 +14063,8 @@ gtk_widget_set_valign (GtkWidget *widget,
  *
  * Returns: The left margin of @widget
  *
+ * Deprecated: 3.12: Use gtk_widget_get_margin_start() instead.
+ *
  * Since: 3.0
  */
 gint
@@ -14081,6 +14083,8 @@ gtk_widget_get_margin_left (GtkWidget *widget)
  * Sets the left margin of @widget.
  * See the #GtkWidget:margin-left property.
  *
+ * Deprecated: 3.12: Use gtk_widget_set_margin_start() instead.
+ *
  * Since: 3.0
  */
 void
@@ -14114,6 +14118,8 @@ gtk_widget_set_margin_left (GtkWidget *widget,
  *
  * Returns: The right margin of @widget
  *
+ * Deprecated: 3.12: Use gtk_widget_get_margin_end() instead.
+ *
  * Since: 3.0
  */
 gint
@@ -14132,6 +14138,8 @@ gtk_widget_get_margin_right (GtkWidget *widget)
  * Sets the right margin of @widget.
  * See the #GtkWidget:margin-right property.
  *
+ * Deprecated: 3.12: Use gtk_widget_set_margin_end() instead.
+ *
  * Since: 3.0
  */
 void


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