summaryrefslogtreecommitdiffstats
path: root/include/widgets/widget-internal.h
diff options
context:
space:
mode:
authorDave Davenport <qball@blame.services>2021-09-06 22:47:35 +0200
committerDave Davenport <qball@blame.services>2021-09-06 22:47:35 +0200
commitf4e5fd328ac0cf8510af735cfc175afbd3a18751 (patch)
tree66a610509c7564c4f5eda888cb02ae8f490dec85 /include/widgets/widget-internal.h
parent965d3631cb3007aa71c9682e0d54fb02262e8ef4 (diff)
Revert "[I1437] Textbox make get_desired_width depend on width."
Diffstat (limited to 'include/widgets/widget-internal.h')
-rw-r--r--include/widgets/widget-internal.h4
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 *);