summaryrefslogtreecommitdiff
path: root/gtk/gtkwidget.c
diff options
context:
space:
mode:
Diffstat (limited to 'gtk/gtkwidget.c')
-rw-r--r--gtk/gtkwidget.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/gtk/gtkwidget.c b/gtk/gtkwidget.c
index 785e86c17d..4ff39d1c12 100644
--- a/gtk/gtkwidget.c
+++ b/gtk/gtkwidget.c
@@ -10436,6 +10436,8 @@ gtk_widget_compute_bounds (GtkWidget *widget,
* system [overview](coordinates.html).
*
* Returns: the width of the @widget
+ *
+ * Deprecated: 4.12: Use [method@Gtk.Widget.get_width] instead
*/
int
gtk_widget_get_allocated_width (GtkWidget *widget)
@@ -10459,6 +10461,8 @@ gtk_widget_get_allocated_width (GtkWidget *widget)
* system [overview](coordinates.html).
*
* Returns: the height of the @widget
+ *
+ * Deprecated: 4.12: Use [method@Gtk.Widget.get_height] instead
*/
int
gtk_widget_get_allocated_height (GtkWidget *widget)