<feed xmlns='http://www.w3.org/2005/Atom'>
<title>libayatana-indicator/src/indicator-ng.c, 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-04-13T07:21:02+00:00</updated>
<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>src/indicator-ng.c: Do not show tooltip on labels while the menu is open</title>
<updated>2022-10-04T02:26:58+00:00</updated>
<author>
<name>Robert Tari</name>
<email>robert@tari.in</email>
</author>
<published>2022-10-04T02:26:58+00:00</published>
<link rel='alternate' type='text/html' href='https://cgit.arctica-project.org/libayatana-indicator/commit/?id=3ae6943c22cf464dcc87e8055d637a6ca1b10e4f'/>
<id>urn:sha1:3ae6943c22cf464dcc87e8055d637a6ca1b10e4f</id>
<content type='text'>
</content>
</entry>
<entry>
<title>src/indicator-ng.c: Add tooltip support</title>
<updated>2022-07-15T21:20:47+00:00</updated>
<author>
<name>Robert Tari</name>
<email>robert@tari.in</email>
</author>
<published>2022-07-13T01:00:08+00:00</published>
<link rel='alternate' type='text/html' href='https://cgit.arctica-project.org/libayatana-indicator/commit/?id=c065f45a0ba3134e95ffef7a0113346f55ccd1c5'/>
<id>urn:sha1:c065f45a0ba3134e95ffef7a0113346f55ccd1c5</id>
<content type='text'>
</content>
</entry>
<entry>
<title>src/indicator-ng.c: Make sure old menu item name is not NULL before comparison</title>
<updated>2021-11-10T12:32:32+00:00</updated>
<author>
<name>Robert Tari</name>
<email>robert@tari.in</email>
</author>
<published>2021-11-05T09:26:24+00:00</published>
<link rel='alternate' type='text/html' href='https://cgit.arctica-project.org/libayatana-indicator/commit/?id=40e310ba6872a0ddc29f5ff3ba9cc805c60ed4a9'/>
<id>urn:sha1:40e310ba6872a0ddc29f5ff3ba9cc805c60ed4a9</id>
<content type='text'>
 Fixes https://github.com/AyatanaIndicators/libayatana-indicator/issues/60
</content>
</entry>
<entry>
<title>Move source files to src</title>
<updated>2021-05-11T09:00:41+00:00</updated>
<author>
<name>Robert Tari</name>
<email>robert@tari.in</email>
</author>
<published>2021-02-10T12:06:05+00:00</published>
<link rel='alternate' type='text/html' href='https://cgit.arctica-project.org/libayatana-indicator/commit/?id=b8b206c6e84757c6d4d36cec619a1e7c37d1eb5f'/>
<id>urn:sha1:b8b206c6e84757c6d4d36cec619a1e7c37d1eb5f</id>
<content type='text'>
</content>
</entry>
</feed>
