summaryrefslogtreecommitdiff
path: root/tests/CMakeLists.txt
Commit message (Collapse)AuthorAgeFilesLines
* Fix linking against libs in non-standard pathsFlorian Märkl3 days1-3/+3
| | | | | | | pkg_check_modules does not include absolute paths to the libraries in <prefix>_LIBRARIES, causing linker errors if they are not located in a standard path. <prefix>_LINK_LIBRARIES is the equivalent that does contain absolute paths.
* src/indicator-ng.c: Fix GtkCssProvider memory leak in indicator_ng_set_labelKenny Daniel2026-04-131-0/+21
| | | | | | | | | | | | | | | | | | | | indicator_ng_set_label() created a new GtkCssProvider and added it to the label's GtkStyleContext on every call, without removing old ones. gtk_style_context_add_provider() accumulates providers, so each call leaked a provider (~1 KB). Since ayatana-indicator-datetime sends action-state-changed once per second to update the clock label, this leaked ~86,400 providers/day, causing mate-indicator-applet-complete to accumulate ~1.4 GB RSS over 7 days. Fix by storing a single GtkCssProvider in the IndicatorNg struct and reusing it. The provider is created on first use and cleaned up in dispose. Test results (100,000 iterations of set_label): Before fix: +99,692 KB RSS growth After fix: +0 KB RSS growth
* Use /bin/sh instead of /bin/bash for teststriallax2024-07-031-3/+3
| | | | | Works just as well and avoids a dependency for systems that don't have bash installed by default.
* Clean up compilation flagsRobert Tari2022-02-171-3/+0
|
* {,**/}CMakeLists.txt: Support builds against GTK+-3.0 with IDO support disabled.Mike Gabriel2021-05-171-3/+3
| | | | Fixes https://github.com/AyatanaIndicators/libayatana-indicator/issues/37
* tests/CMakeLists.txt: Rewrite to fix tests and coverageMike Gabriel2021-05-171-56/+267
|
* Bring back GTK+-2.0 and GTK+-3.0 build flavours.Mike Gabriel2021-05-121-135/+55
|
* Add CMakeLists.txt files + tests/test-loader.c: fix library paths + Fix ↵Robert Tari2021-05-121-0/+156
include paths tests/test-loader.c: fix library paths