<feed xmlns='http://www.w3.org/2005/Atom'>
<title>libayatana-indicator/tests/CMakeLists.txt, branch 0.9.5</title>
<subtitle>Ayatana Indicators Shared Library
</subtitle>
<id>https://cgit.arctica-project.org/libayatana-indicator/atom?h=0.9.5</id>
<link rel='self' href='https://cgit.arctica-project.org/libayatana-indicator/atom?h=0.9.5'/>
<link rel='alternate' type='text/html' href='https://cgit.arctica-project.org/libayatana-indicator/'/>
<updated>2026-06-09T13:40:23+00:00</updated>
<entry>
<title>Fix linking against libs in non-standard paths</title>
<updated>2026-06-09T13:40:23+00:00</updated>
<author>
<name>Florian Märkl</name>
<email>info@florianmaerkl.de</email>
</author>
<published>2025-05-09T16:24:14+00:00</published>
<link rel='alternate' type='text/html' href='https://cgit.arctica-project.org/libayatana-indicator/commit/?id=80c8c7c5d9872727dbaa4c987f520240555eb4ba'/>
<id>urn:sha1:80c8c7c5d9872727dbaa4c987f520240555eb4ba</id>
<content type='text'>
pkg_check_modules does not include absolute paths to the libraries in
&lt;prefix&gt;_LIBRARIES, causing linker errors if they are not located in a
standard path. &lt;prefix&gt;_LINK_LIBRARIES is the equivalent that does
contain absolute paths.
</content>
</entry>
<entry>
<title>src/indicator-ng.c: Fix GtkCssProvider memory leak in indicator_ng_set_label</title>
<updated>2026-04-13T07:21:02+00:00</updated>
<author>
<name>Kenny Daniel</name>
<email>platypii@gmail.com</email>
</author>
<published>2026-04-13T07:17:32+00:00</published>
<link rel='alternate' type='text/html' href='https://cgit.arctica-project.org/libayatana-indicator/commit/?id=8880ce63d6c1c02c08f1ae4e8023ac99a7533810'/>
<id>urn:sha1:8880ce63d6c1c02c08f1ae4e8023ac99a7533810</id>
<content type='text'>
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
</content>
</entry>
<entry>
<title>Use /bin/sh instead of /bin/bash for tests</title>
<updated>2024-07-03T14:35:09+00:00</updated>
<author>
<name>triallax</name>
<email>triallax@tutanota.com</email>
</author>
<published>2024-05-06T19:50:34+00:00</published>
<link rel='alternate' type='text/html' href='https://cgit.arctica-project.org/libayatana-indicator/commit/?id=804fe3c22c97fe830e9f4b73817092fcfea3e954'/>
<id>urn:sha1:804fe3c22c97fe830e9f4b73817092fcfea3e954</id>
<content type='text'>
Works just as well and avoids a dependency for systems that don't have
bash installed by default.
</content>
</entry>
<entry>
<title>Clean up compilation flags</title>
<updated>2022-02-17T15:01:23+00:00</updated>
<author>
<name>Robert Tari</name>
<email>robert@tari.in</email>
</author>
<published>2022-02-17T15:01:23+00:00</published>
<link rel='alternate' type='text/html' href='https://cgit.arctica-project.org/libayatana-indicator/commit/?id=4b442de3f5fbb524dae7857dcc04afe020538f95'/>
<id>urn:sha1:4b442de3f5fbb524dae7857dcc04afe020538f95</id>
<content type='text'>
</content>
</entry>
<entry>
<title>{,**/}CMakeLists.txt: Support builds against GTK+-3.0 with IDO support disabled.</title>
<updated>2021-05-17T11:40:38+00:00</updated>
<author>
<name>Mike Gabriel</name>
<email>mike.gabriel@das-netzwerkteam.de</email>
</author>
<published>2021-05-17T11:40:29+00:00</published>
<link rel='alternate' type='text/html' href='https://cgit.arctica-project.org/libayatana-indicator/commit/?id=b28e807d94462770765566ab0d879554da1f2b23'/>
<id>urn:sha1:b28e807d94462770765566ab0d879554da1f2b23</id>
<content type='text'>
Fixes https://github.com/AyatanaIndicators/libayatana-indicator/issues/37
</content>
</entry>
<entry>
<title>tests/CMakeLists.txt: Rewrite to fix tests and coverage</title>
<updated>2021-05-17T10:21:14+00:00</updated>
<author>
<name>Mike Gabriel</name>
<email>mike.gabriel@das-netzwerkteam.de</email>
</author>
<published>2021-05-16T20:50:26+00:00</published>
<link rel='alternate' type='text/html' href='https://cgit.arctica-project.org/libayatana-indicator/commit/?id=49d522e6bc2a513887277371e90838b742528b42'/>
<id>urn:sha1:49d522e6bc2a513887277371e90838b742528b42</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Bring back GTK+-2.0 and GTK+-3.0 build flavours.</title>
<updated>2021-05-12T15:09:30+00:00</updated>
<author>
<name>Mike Gabriel</name>
<email>mike.gabriel@das-netzwerkteam.de</email>
</author>
<published>2021-05-12T11:27:15+00:00</published>
<link rel='alternate' type='text/html' href='https://cgit.arctica-project.org/libayatana-indicator/commit/?id=bfb679de31ba276e0155153fc3efff9b8aacbbf6'/>
<id>urn:sha1:bfb679de31ba276e0155153fc3efff9b8aacbbf6</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Add CMakeLists.txt files + tests/test-loader.c: fix library paths + Fix include paths</title>
<updated>2021-05-12T10:49:57+00:00</updated>
<author>
<name>Robert Tari</name>
<email>robert@tari.in</email>
</author>
<published>2021-02-11T14:22:22+00:00</published>
<link rel='alternate' type='text/html' href='https://cgit.arctica-project.org/libayatana-indicator/commit/?id=1fa174f54c9604499f059489e544cfc59c825f27'/>
<id>urn:sha1:1fa174f54c9604499f059489e544cfc59c825f27</id>
<content type='text'>
tests/test-loader.c: fix library paths
</content>
</entry>
</feed>
