diff options
author | Dave Davenport <qball@blame.services> | 2021-09-06 22:47:35 +0200 |
---|---|---|
committer | Dave Davenport <qball@blame.services> | 2021-09-06 22:47:35 +0200 |
commit | f4e5fd328ac0cf8510af735cfc175afbd3a18751 (patch) | |
tree | 66a610509c7564c4f5eda888cb02ae8f490dec85 /include/widgets/widget-internal.h | |
parent | 965d3631cb3007aa71c9682e0d54fb02262e8ef4 (diff) |
Revert "[I1437] Textbox make get_desired_width depend on width."
This reverts commit 154e03efc1fd8cc469d61441209494cf03164d54.
Diffstat (limited to 'include/widgets/widget-internal.h')
-rw-r--r-- | include/widgets/widget-internal.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/widgets/widget-internal.h b/include/widgets/widget-internal.h index 91c3a8d9..159c80f2 100644 --- a/include/widgets/widget-internal.h +++ b/include/widgets/widget-internal.h @@ -80,8 +80,8 @@ struct _widget { /** Handle mouse motion, used for dragging */ gboolean (*motion_notify)(struct _widget *, gint x, gint y); - int (*get_desired_height)(struct _widget *, const int width); - int (*get_desired_width)(struct _widget *, const int height); + int (*get_desired_height)(struct _widget *); + int (*get_desired_width)(struct _widget *); void (*set_state)(struct _widget *, const char *); |