summaryrefslogtreecommitdiffstats
path: root/source/widgets/textbox.c
diff options
context:
space:
mode:
Diffstat (limited to 'source/widgets/textbox.c')
-rw-r--r--source/widgets/textbox.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/widgets/textbox.c b/source/widgets/textbox.c
index 6c978b12..c867ac15 100644
--- a/source/widgets/textbox.c
+++ b/source/widgets/textbox.c
@@ -901,7 +901,7 @@ int textbox_get_desired_width ( widget *wid )
if ( wid->expand && tb->flags & TB_AUTOWIDTH ) {
return textbox_get_font_width ( tb ) + widget_padding_get_padding_width ( wid ) + offset;
}
- Distance w = rofi_theme_get_distance ( WIDGET ( tb ), "width", 0 );
+ RofiDistance w = rofi_theme_get_distance ( WIDGET ( tb ), "width", 0 );
int wi = distance_get_pixel ( w, ORIENTATION_HORIZONTAL );
if ( wi > 0 )
{