Skip to content
This repository was archived by the owner on Feb 25, 2025. It is now read-only.

Commit 18192ec

Browse files
committed
Add optional log handler to fl_test_gtk_logs
1 parent 4e313a1 commit 18192ec

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

shell/platform/linux/testing/fl_test_gtk_logs.h

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,9 @@ namespace testing {
1919
* To retrieve the bitfield of recorded log levels, use
2020
* `fl_get_received_gtk_log_levels()`.
2121
*
22-
* @param[in] writer The custom log writer function to use. If `nullptr`, the
23-
* default log writer function will be used.
22+
* @param[in] writer The custom log writer function to use. If `nullptr`, or it
23+
* returns G_LOG_WRITER_UNHANDLED, the default log writer function will be
24+
* called.
2425
*
2526
* @brief Ensures that GTK has been initialized and starts monitoring logs.
2627
*/

0 commit comments

Comments
 (0)