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/gtkcolorplane.c | |
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/gtkcolorplane.c')
-rw-r--r-- | gtk/gtkcolorplane.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/gtk/gtkcolorplane.c b/gtk/gtkcolorplane.c index e9adcc31f2..1eedf04f66 100644 --- a/gtk/gtkcolorplane.c +++ b/gtk/gtkcolorplane.c @@ -169,9 +169,10 @@ create_texture (GtkColorPlane *plane) } static void -plane_size_allocate (GtkWidget *widget, - const GtkAllocation *allocation, - int baseline) +plane_size_allocate (GtkWidget *widget, + int width, + int height, + int baseline) { GtkColorPlane *plane = GTK_COLOR_PLANE (widget); |