[gtk+] API: Deprecate gtk_container_set_reallocate_redraws()
- From: Benjamin Otte <otte src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] API: Deprecate gtk_container_set_reallocate_redraws()
- Date: Sun, 18 May 2014 14:11:50 +0000 (UTC)
commit f191c13a27cbc4aaa9d7576bd84ba7873b58c10d
Author: Benjamin Otte <otte redhat com>
Date: Sun May 18 16:08:30 2014 +0200
API: Deprecate gtk_container_set_reallocate_redraws()
gtk/gtkcontainer.c | 3 +++
gtk/gtkcontainer.h | 2 +-
2 files changed, 4 insertions(+), 1 deletions(-)
---
diff --git a/gtk/gtkcontainer.c b/gtk/gtkcontainer.c
index bde7e62..cff0ef7 100644
--- a/gtk/gtkcontainer.c
+++ b/gtk/gtkcontainer.c
@@ -1704,6 +1704,9 @@ gtk_container_get_resize_mode (GtkContainer *container)
*
* Containers requesting reallocation redraws get automatically
* redrawn if any of their children changed allocation.
+ *
+ * @Deprecated: 3.14: Call gtk_widget_queue_draw() in your size_allocate
+ * handler.
**/
void
gtk_container_set_reallocate_redraws (GtkContainer *container,
diff --git a/gtk/gtkcontainer.h b/gtk/gtkcontainer.h
index 6572306..9e7d512 100644
--- a/gtk/gtkcontainer.h
+++ b/gtk/gtkcontainer.h
@@ -173,7 +173,7 @@ void gtk_container_unset_focus_chain (GtkContainer *container);
/* Widget-level methods */
-GDK_AVAILABLE_IN_ALL
+GDK_DEPRECATED_IN_3_14
void gtk_container_set_reallocate_redraws (GtkContainer *container,
gboolean needs_redraws);
GDK_AVAILABLE_IN_ALL
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]