mastodontech.de ist einer von vielen unabhängigen Mastodon-Servern, mit dem du dich im Fediverse beteiligen kannst.
Offen für alle (über 16) und bereitgestellt von Markus'Blog

Serverstatistik:

1,4 Tsd.
aktive Profile

#glib

0 Beiträge0 Beteiligte0 Beiträge heute
/dev/urandom<p>okay, i think i don't entirely understand when i should claim a reference using <code>g_object_ref</code> and when i shouldn't <a href="https://toot.cat/tags/GLib" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>GLib</span></a> <a href="https://toot.cat/tags/GObject" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>GObject</span></a></p><p>question 1: should a function that returns a pointer to an object <code>g_object_ref</code> it for the caller's sake?</p>
Emmanuele Bassi<p>I have not blogged or talked about the follow-up work to my "GType Next" blog post that I've been doing in my spare time, mainly because it is happening *in my spare time*, and I don't want to give false impressions to people; the other reason is that the time consuming bit is not writing a bunch of code, but it's planning ahead, because the goal is to avoid breaking stuff at all costs…</p><p><a href="https://mastodon.social/tags/glib" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>glib</span></a> <a href="https://mastodon.social/tags/gobject" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>gobject</span></a> <a href="https://mastodon.social/tags/gtk" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>gtk</span></a></p>
mgorny-nyan (he) :autism:🙀🚂🐧<p>Fun fact: if random applications are crashing with errors like:</p><p>(…): GLib-GIO-ERROR **: 20:46:27.286: Settings schema '…' does not contain a key named '…'</p><p>and you've already verified that you've compiled the schemas, and that the schema contains the listed key, then it may mean that for some reason you have another compiled schema file in your home directory, and it's taking precedence.</p><p>In other words:</p><p>rm ~/.local/share/glib-2.0/schemas/gschemas.compiled</p><p><a href="https://social.treehouse.systems/tags/Gentoo" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Gentoo</span></a> <a href="https://social.treehouse.systems/tags/GNOME" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>GNOME</span></a> <a href="https://social.treehouse.systems/tags/glib" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>glib</span></a></p>
Vala<p>Play FlappyBird, but written in <a href="https://mastodon.social/tags/vala" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>vala</span></a> !<br><a href="https://gitlab.com/nda-cunh/flappyvala" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="">gitlab.com/nda-cunh/flappyvala</span><span class="invisible"></span></a><br>Using only <a href="https://mastodon.social/tags/SFML" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>SFML</span></a> and <a href="https://mastodon.social/tags/glib" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>glib</span></a> as dependencies.<br>The code is object oriented and a very good example for a non-gtk Vala app. Check it out!</p><p><a href="https://mastodon.social/tags/gamedev" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>gamedev</span></a> <a href="https://mastodon.social/tags/gaming" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>gaming</span></a> <a href="https://mastodon.social/tags/FlappyBird" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>FlappyBird</span></a> <a href="https://mastodon.social/tags/OOP" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>OOP</span></a></p>
/dev/urandom<p>any <a href="https://toot.cat/tags/GLib" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>GLib</span></a> coders out there? i would like to know what's the best way to keep track of async operations, like mounting/unmounting drives, copying files, etc.</p><p>i'm using <a href="https://toot.cat/tags/vala" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>vala</span></a>, but i'm pretty sure any C advice would also apply with slight changes</p>
GTK<p>Important security update for GLib and D-Bus, thanks to <span class="h-card" translate="no"><a href="https://mastodon.social/@pwithnall" class="u-url mention" rel="nofollow noopener" target="_blank">@<span>pwithnall</span></a></span> </p><p><a href="https://discourse.gnome.org/t/security-fixes-for-signal-handling-in-gdbus-in-glib/20882" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">discourse.gnome.org/t/security</span><span class="invisible">-fixes-for-signal-handling-in-gdbus-in-glib/20882</span></a></p><p>If you are a downstream distributor of GLib, GTK, or GNOME-related projects, remember to follow the distributor tag on Discourse.</p><p><a href="https://floss.social/tags/glib" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>glib</span></a> <a href="https://floss.social/tags/security" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>security</span></a></p>
dorotaC<p>When I was dealing with gtk-rs, I thought <a href="https://fosstodon.org/tags/gVariant" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>gVariant</span></a> was a mess in <a href="https://fosstodon.org/tags/rust" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>rust</span></a> .</p><p>Now I know it's not just Rust. It's also a pain in C. Sigh.</p><p><a href="https://fosstodon.org/tags/rustlang" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>rustlang</span></a> <a href="https://fosstodon.org/tags/glib" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>glib</span></a> <a href="https://fosstodon.org/tags/programming" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>programming</span></a> <a href="https://fosstodon.org/tags/linuxdesktop" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>linuxdesktop</span></a></p>
Emmanuele Bassi<p>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:</p><p>- <a href="https://docs.gtk.org/glib/macros.html" rel="nofollow noopener" target="_blank"><span class="invisible">https://</span><span class="">docs.gtk.org/glib/macros.html</span><span class="invisible"></span></a><br>- <a href="https://docs.gtk.org/glib/conversion-macros.html" rel="nofollow noopener" target="_blank"><span class="invisible">https://</span><span class="ellipsis">docs.gtk.org/glib/conversion-m</span><span class="invisible">acros.html</span></a><br>- <a href="https://docs.gtk.org/glib/auto-cleanup.html" rel="nofollow noopener" target="_blank"><span class="invisible">https://</span><span class="ellipsis">docs.gtk.org/glib/auto-cleanup</span><span class="invisible">.html</span></a></p><p><a href="https://mastodon.social/tags/gtk" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>gtk</span></a> <a href="https://mastodon.social/tags/glib" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>glib</span></a> <a href="https://mastodon.social/tags/documentation" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>documentation</span></a></p>