diff options
author | Timm Bäder <mail@baedert.org> | 2018-08-16 06:53:03 +0200 |
---|---|---|
committer | Timm Bäder <mail@baedert.org> | 2018-11-13 16:28:54 +0100 |
commit | ade171a2ed1f868b13dd1f1cb221e6622b92e052 (patch) | |
tree | 19d911660e38043ee30b51e29548f7c9b72acdcc /gtk/gtkgizmoprivate.h | |
parent | 1f1306a53b7c496ba0694544bde71265110fe4ed (diff) | |
download | gtk+-ade171a2ed1f868b13dd1f1cb221e6622b92e052.tar.gz |
widget: Don't pass a position to ->size_allocate
The values have been 0/0 for a long time now, so just drop the
GtkAllocation argument and replace it with width and height.
Diffstat (limited to 'gtk/gtkgizmoprivate.h')
-rw-r--r-- | gtk/gtkgizmoprivate.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/gtk/gtkgizmoprivate.h b/gtk/gtkgizmoprivate.h index 1e59eefa66..8a99f924e7 100644 --- a/gtk/gtkgizmoprivate.h +++ b/gtk/gtkgizmoprivate.h @@ -21,9 +21,10 @@ typedef void (* GtkGizmoMeasureFunc) (GtkGizmo *gizmo, int *natural, int *minimum_baseline, int *natural_baseline); -typedef void (* GtkGizmoAllocateFunc) (GtkGizmo *gizmo, - const GtkAllocation *allocation, - int baseline); +typedef void (* GtkGizmoAllocateFunc) (GtkGizmo *gizmo, + int width, + int height, + int baseline); typedef gboolean (* GtkGizmoSnapshotFunc) (GtkGizmo *gizmo, GtkSnapshot *snapshot); |