mirror of
https://github.com/swaywm/sway.git
synced 2026-03-13 05:34:04 -04:00
swaynag: drop swaynag_type.font
It's too easy to have this go out of sync with font_description.
This commit is contained in:
parent
fd0af78e43
commit
bd7466e1b7
4 changed files with 5 additions and 12 deletions
|
|
@ -98,7 +98,9 @@ int main(int argc, char **argv) {
|
|||
sway_log(SWAY_DEBUG, "Anchors: %" PRIu32, swaynag.type->anchors);
|
||||
sway_log(SWAY_DEBUG, "Type: %s", swaynag.type->name);
|
||||
sway_log(SWAY_DEBUG, "Message: %s", swaynag.message);
|
||||
sway_log(SWAY_DEBUG, "Font: %s", swaynag.type->font);
|
||||
char *font = pango_font_description_to_string(swaynag.type->font_description);
|
||||
sway_log(SWAY_DEBUG, "Font: %s", font);
|
||||
free(font);
|
||||
sway_log(SWAY_DEBUG, "Buttons");
|
||||
for (int i = 0; i < swaynag.buttons->length; i++) {
|
||||
struct swaynag_button *button = swaynag.buttons->items[i];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue