Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

debugging an Ada program that use gntkada: cannot load a pixbuf, gdk-pixbuf-error-quark 3. #180

Open
fdesp87 opened this issue Sep 11, 2024 · 0 comments

Comments

@fdesp87
Copy link

fdesp87 commented Sep 11, 2024

Installed under the same basedir: latest gnat, gprbuild, gnatstudio and gtkada. No error/warning messages during installations.

Trying to debug (with gnatstudio) an Ada program using gtkada, the result is

(bpl8ui:13698): Gtk-WARNING **: 18:33:05.863: Could not load a pixbuf from icon theme.
This may indicate that pixbuf loaders or the mime database could not be found.
**
Gtk:ERROR:../../../gtk/gtkiconhelper.c:495:ensure_surface_for_gicon: assertion failed (error == NULL): Failed to load /home/opt/GNAT/14.2.0-1/share/icons/Adwaita/16x16/status/image-missing.png: Unrecognized image file format (gdk-pixbuf-error-quark, 3)
Bail out! Gtk:ERROR:../../../gtk/gtkiconhelper.c:495:ensure_surface_for_gicon: assertion failed (error == NULL): Failed to load /home/opt/GNAT/14.2.0-1/share/icons/Adwaita/16x16/status/image-missing.png: Unrecognized image file format (gdk-pixbuf-error-quark, 3)

OS is ubuntu 24.04.01 LTS
gtk-3.0

GnatStudio is OK when debugging programs that don't use gtkada. Of course, all directories under basedir are provided, including share/icons/Adwaita

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant