Search
Items tagged with: glib
Important security update for GLib and D-Bus, thanks to @pwithnall
https://discourse.gnome.org/t/security-fixes-for-signal-handling-in-gdbus-in-glib/20882
If you are a downstream distributor of GLib, GTK, or GNOME-related projects, remember to follow the distributor tag on Discourse.
Security fixes for signal handling in GDBus in GLib
A series of related security fixes for how signal subscriptions are handled in GDBus have just landed in GLib.GNOME Discourse
PSA: Improvements to #GCC's static analyzer are going to cause (at least) `g_error()` to throw an error about an infinite loop.
Wrap the call in a few pragmas:
```c
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wanalyzer-infinite-loop"
g_error ("Just like this");
#pragma GCC diagnostic pop
```
https://gcc.gnu.org/onlinedocs/gcc/Diagnostic-Pragmas.html
#GNOME #GLib #C #StaticAnalyzer
PSA: if you are spawning callbacks with something other than g_idle_add you should think hard about what priority you want and hopefully you can use G_PRIORITY_DEFAULT_IDLE or lower.
(Instead of G_PRIORITY_DEFAULT)
https://gitlab.gnome.org/GNOME/loupe/-/merge_requests/304
util: Lower the priority of the helper spawn (!304) · Merge requests · GNOME / Image Viewer · GitLab
The default spawn method of the context, gets scheduled with G_PRIORITY_DEFAULT (0), which takes priority over GTK's GDK_PRIORITY_REDRAW which has a value of 120. ...GitLab
Embloggeration happened: https://www.bassi.io/articles/2023/10/25/introspections-edge/
In which I talk about the current plans for gobject-introspection and GLib.
If you work on language bindings, and/or packaging glib, you should reach out to the GLib maintainers.
Does anyone care deeply about macOS support for GLib? If so, you might want to get involved
https://gitlab.gnome.org/GNOME/glib/-/merge_requests/3463
ci: Disable the macOS CI (!3463) · Merge requests · GNOME / GLib · GitLab
It’s almost a complete waste of time at the moment. For several reasons, jobs flakily fail on it more often than they succeed. It’s wasting resources, slowing down...GitLab
If you’re using the GLib reference on docs.gtk.org and you’re missing the documentation for various C pre-processor macros, you can now find it here:
- https://docs.gtk.org/glib/macros.html
- https://docs.gtk.org/glib/conversion-macros.html
- https://docs.gtk.org/glib/auto-cleanup.html
#gtk #glib #documentation