{
"$type": "site.standard.document",
"bskyPostRef": {
"cid": "bafyreihlajgbvynhbm4jlwxwvbocifdzbukuazvqinin6bfxmb7nn5qznu",
"uri": "at://did:plc:hqad6xwuzg7oqfmwylfkvqfm/app.bsky.feed.post/3ml7hcsjnllg2"
},
"path": "/viewtopic.php?t=33365&p=273582#p273582",
"publishedAt": "2026-05-06T19:02:24.000Z",
"site": "http://forum.palemoon.org",
"tags": [
"https://bugs.debian.org/cgi-bin/bugrepo ... ug=1135360",
"https://git.devuan.org/Daemonratte/gtk2 ... tk-engines",
"https://git.devuan.org/Daemonratte/gtk2 ... 9cc4ebe7f1"
],
"textContent": "> While we are on this topic, gtk2-engines has a theme (Redmond) I've been using for 10-15 years and it's had an insane bug this whole time where disabled checkboxes always show as checked.\n> After reporting it a few times throughout the years, I finally just tried to tackle it myself and managed to fix the bug. I also finally found the best place to report the bug (with patch code now!) which got rebuffed since gtk2 is apparently too old for the maintainers to give a crap about even though I served them up the fix on a platter.\n>\n> So, if you're going to work on theme engines, do please give this a look and fix the Redmond theme for everyone.\n>\n> https://bugs.debian.org/cgi-bin/bugrepo ... ug=1135360\n\nHey Ben!\nI finally included your patch!\nThank you so much again! Is this alright by you? I also applied the same fix to the radio buttons.\nhttps://git.devuan.org/Daemonratte/gtk2 ... tk-engines\n\nHere is the exact commit:\nhttps://git.devuan.org/Daemonratte/gtk2 ... 9cc4ebe7f1\n\n\n> Talking about themes, it's funny but I have no idea how to install and change the theme for the testing build of Gtk2 - the one installed locally not system-wide.\n> Yesterday the whole day (and night) I fought with removing whatever deprecations I could, and also tried to apply Ben Fenner's patch to the Redmond engine/theme, but I have no idea how to install that - and other engines/themes I downloaded and built - so that they'd load when running application with that local Gtk2.\n>\n> **EDIT:** Found out how to specify the theme at runtime.\n> Additionally to all other environment variables add GTK2_RC_FILES=\"<full/path/to/desired/theme/rc-file>\".\n> Example: GTK2_RC_FILES=\"<gtk2-ng path>/share/themes/Redmond/gtk-2.0/gtkrc\"\n> **/EDIT**\n\nHey Drugwash!\nThat's how I tested it too. But I'm pretty sure that analysing the AUR package will clarify how to install the engines.\n\n\n\n> Oh and I also couldn't find any information online as to how to get GCC to ignore whatever it may see wrong in comment blocks, as there are too many warnings about that and it's difficult to sort through all those warnings. I did manage to make it silent, and only display warnings and errors but still there's much to sift through.\n>\n> What I'm having trouble with are the remaining ATK calls that have no direct replacement - those related to focus_tracker and tracker_notify - and those related to get_text_before/at/after_offset which all seem to have been replaced with atk_text_get_string_at_offset but I suspect some of the parameters would have to be recalculated. There are also a few related to pango, gdk_pixbuf, and others but they may have to stay as they are.\n>\n> Missing annotations are also a pest.\n\nThat's my focus too. There were countless deprecation errors when using autoreconf or configure as well, but I got rid of all of them yesterday\nAlso, you're going to like this: I added enough fallbacks in the code so that you can now compile gtk2-ng on everything from Debian Jessie (Debian 8) to modern Arch Linux\n\nBtw, do you have an online repo with your fixes? Or could you do a pull request on out repo maybe?\nBe aware though that there are two important things to consider when getting rid of deprecation warnings:\nHaving fallbacks for older versions of glib, pango, pixbuf, etc\nNo extra ram usage of bigger binaries, when possible. I want this to run well on old and new hardware.\n\n* * *",
"title": "Other/future projects • Re: GTK2 revival",
"updatedAt": "2026-05-06T19:02:24.000Z"
}