diff options
author | Dave Davenport <qball@gmpclient.org> | 2017-02-03 20:49:16 +0100 |
---|---|---|
committer | Dave Davenport <qball@gmpclient.org> | 2017-02-03 20:49:16 +0100 |
commit | 8ef7b4b794d36013969dcda1b9f6b1fb15d97f60 (patch) | |
tree | c24ae261cdad70af03fb968d351e6a205356bf6c /include | |
parent | 2fe22cb7e2ee6f914774c7cc569911e9c9dc070c (diff) |
Don't recreate every string everytime.
Diffstat (limited to 'include')
-rw-r--r-- | include/widgets/textbox.h | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/include/widgets/textbox.h b/include/widgets/textbox.h index 6c9ddb0e..20ed7e0a 100644 --- a/include/widgets/textbox.h +++ b/include/widgets/textbox.h @@ -23,22 +23,22 @@ */ typedef struct { - widget widget; - unsigned long flags; - short cursor; - Color color_fg, color_bg; - char *text; - PangoLayout *layout; - int tbft; - int markup; - int changed; + widget widget; + unsigned long flags; + short cursor; + Color color_fg, color_bg; + char *text; + PangoLayout *layout; + int tbft; + int markup; + int changed; - int blink; - guint blink_timeout; + int blink; + guint blink_timeout; - PangoFontMetrics *metrics; + PangoFontMetrics *metrics; // - const char *theme_name; + const char *theme_name; } textbox; /** |