[goocanvas] Use gtk_widget_size_allocate().
- From: Murray Cumming <murrayc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [goocanvas] Use gtk_widget_size_allocate().
- Date: Wed, 1 Nov 2017 20:16:32 +0000 (UTC)
commit 3f04f49049dd7c3b5bff72fe3a7b4152ffd6fb4e
Author: Murray Cumming <murrayc murrayc com>
Date: Wed Nov 1 21:14:43 2017 +0100
Use gtk_widget_size_allocate().
Instead of gtk_widget_set_allocation().
As suggested here:
https://developer.gnome.org/gtk4/stable/GtkWidget.html#gtk-widget-size-allocate
src/goocanvas.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/goocanvas.c b/src/goocanvas.c
index e1b8fe9..84478ca 100644
--- a/src/goocanvas.c
+++ b/src/goocanvas.c
@@ -2004,7 +2004,7 @@ goo_canvas_size_allocate (GtkWidget *widget,
canvas = GOO_CANVAS (widget);
- gtk_widget_set_allocation (widget, allocation);
+ gtk_widget_size_allocate (widget, allocation, baseline, out_clip);
if (gtk_widget_get_realized (widget))
{
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]