[gtk+/wip/baedert/gtkimageview: 254/264] expander: Add deprecation flags to _get/set_spacing
- From: Timm Bäder <baedert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/wip/baedert/gtkimageview: 254/264] expander: Add deprecation flags to _get/set_spacing
- Date: Fri, 26 Feb 2016 10:52:20 +0000 (UTC)
commit b9c3126d326c6b6223c4325be93fd28adce606a0
Author: Timm Bäder <mail baedert org>
Date: Thu Feb 11 21:33:08 2016 +0100
expander: Add deprecation flags to _get/set_spacing
gtk/gtkexpander.c | 2 ++
gtk/gtkexpander.h | 4 ++--
2 files changed, 4 insertions(+), 2 deletions(-)
---
diff --git a/gtk/gtkexpander.c b/gtk/gtkexpander.c
index f6cea5c..5f779aa 100644
--- a/gtk/gtkexpander.c
+++ b/gtk/gtkexpander.c
@@ -519,7 +519,9 @@ gtk_expander_set_property (GObject *object,
gtk_expander_set_use_markup (expander, g_value_get_boolean (value));
break;
case PROP_SPACING:
+ G_GNUC_BEGIN_IGNORE_DEPRECATIONS;
gtk_expander_set_spacing (expander, g_value_get_int (value));
+ G_GNUC_END_IGNORE_DEPRECATIONS;
break;
case PROP_LABEL_WIDGET:
gtk_expander_set_label_widget (expander, g_value_get_object (value));
diff --git a/gtk/gtkexpander.h b/gtk/gtkexpander.h
index 085c448..78a3339 100644
--- a/gtk/gtkexpander.h
+++ b/gtk/gtkexpander.h
@@ -88,10 +88,10 @@ GDK_AVAILABLE_IN_ALL
gboolean gtk_expander_get_expanded (GtkExpander *expander);
/* Spacing between the expander/label and the child */
-GDK_AVAILABLE_IN_ALL
+GDK_DEPRECATED_IN_3_20
void gtk_expander_set_spacing (GtkExpander *expander,
gint spacing);
-GDK_AVAILABLE_IN_ALL
+GDK_DEPRECATED_IN_3_20
gint gtk_expander_get_spacing (GtkExpander *expander);
GDK_AVAILABLE_IN_ALL
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]