20
850
Fork
You've already forked fuzzel
83

Handle libpng messages #101

Closed
opened 2022年02月06日 03:29:53 +01:00 by tinywrkb · 1 comment

I noticed today that my log is piling up with libpng warnings (the usual incorrect sRGB profile warning), and had to track those rebellious png icons and fix them.

libpng manual says that it's possible to set message callbacks to handle the warnings instead of libpng directly printing to stderr.
Does this sound feasible? Could we redirect libpng message to fuzzel's logging?

I noticed today that my log is piling up with libpng warnings (the usual incorrect sRGB profile warning), and had to track those rebellious png icons and fix them. [libpng manual](http://www.libpng.org/pub/png/libpng-1.2.5-manual.html#section-5.1) says that it's possible to set message callbacks to handle the warnings instead of libpng directly printing to stderr. Does this sound feasible? Could we redirect libpng message to fuzzel's logging?
Owner
Copy link

If we can use callbacks, then yeah, it both sounds feasibly, and like something we absolutely should do.

If we can use callbacks, then yeah, it both sounds feasibly, and like something we absolutely should do.
Sign in to join this conversation.
No Branch/Tag specified
master
gnome-support
releases/1.14
issue-319-window-switching
issue-561-nord-theme-only
resvg-filtering-take-2
resvg-filtering
releases/1.13
rehanzo-dont-ignore-execute-648
keybinds-overwrite
issue-561-refresh-theme
ci-automated-testing
reenable-legacy-icons
releases/1.12
test-coverage-for-fzf-caching
releases/1.11
releases/1.10
releases/1.9
releases/1.8
releases/1.7
releases/1.6
releases/1.5
releases/1.4
releases/1.3
releases/1.2
releases/1.1
releases/1.0
1.14.1
1.14.0
1.13.1
1.13.0
1.12.0
1.11.1
1.11.0
1.10.2
1.10.1
1.10.0
1.9.2
1.9.1
1.9.0
1.8.2
1.8.1
1.8.0
1.7.0
1.6.5
1.6.4
1.6.3
1.6.2
1.6.1
1.6.0
1.5.4
1.5.3
1.5.2
1.5.1
1.5.0
1.4.2
1.4.1
1.4.0
1.3.0
1.2.0
1.1.0
1.0.1
1.0.0
0.9.0
Milestone
Clear milestone
No items
No milestone
Projects
Clear projects
No items
No project
Assignees
Clear assignees
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
dnkl/fuzzel#101
Reference in a new issue
dnkl/fuzzel
No description provided.
Delete branch "%!s()"

Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?