External Publication
Visit Post

Other/future projects • Re: GTK2 revival

Pale Moon forum - Forum index [Unofficial] May 3, 2026
Source

It worked. Thank you!

Yee, awesome!

Now I should find a Gtk2 application to test it with. Hm, just built Pale Moon GTK2 yesterday, should be a good fit. But first a couple questions:

  1. Would it be OK to strip all newly built executables and libraries (while keeping their respective debug symbols)?
  2. What exactly should I look for during testing; any particular function or behavior? (I don't have touch devices or anything so can't test that)
  1. Yes, of course
  2. Yeah, mainly behavior and if there's something "nice-to-have" you'd want to have

Oh and I've been getting a few deprecation warnings: warning: ‘GTimeVal’ is deprecated: Use 'GDateTime' instead Not sure whether it's in your code or not.

Yeah, I still need to get rid of all deprecation warnings. This is still going to take a while as the list is still really long.

I see the compiler still uses headers from /usr/include/* - is that normal or should any build parameters/flags be changed?

No worries, that's normal. GTK2-ng is using your system libraries for pango, glib, cairo, atk, etc

EDIT2: I knew it wouldn't be that easy... Another error popped up at runtime (although the application did start and is running): Gtk-Message: 11:59:11.367: Failed to load module "atk-bridge": 'gtk_module_display_init': /gtk2ng-test/lib/gtk-2.0/modules/libgail.so: undefined symbol: gtk_module_display_init Will try to test further, see what pops up ahead.

That's most likely caused by a mixed GTK module environment. Try this:

CODE:

GTK2NG_PREFIX=/path/to/gtk2ng-testenv \NO_AT_BRIDGE=1 \GTK_MODULES='' \LD_LIBRARY_PATH="$GTK2NG_PREFIX/lib:$GTK2NG_PREFIX/lib/x86_64-linux-gnu" \GTK_EXE_PREFIX="$GTK2NG_PREFIX" \GTK_DATA_PREFIX="$GTK2NG_PREFIX" \GTK_PATH="$GTK2NG_PREFIX/lib/gtk-2.0:$GTK2NG_PREFIX/lib/x86_64-linux-gnu/gtk-2.0" \/path/to/application

Discussion in the ATmosphere

Loading comments...