Skip to content

[pull] master from GNOME:master#564

Merged
pull[bot] merged 7 commits intoMu-L:masterfrom
GNOME:master
Aug 22, 2021
Merged

[pull] master from GNOME:master#564
pull[bot] merged 7 commits intoMu-L:masterfrom
GNOME:master

Conversation

@pull
Copy link
Copy Markdown

@pull pull bot commented Aug 22, 2021

See Commits and Changes for more details.


Created by pull[bot]

Can you help keep this open source service alive? 💖 Please sponsor : )

Jehan and others added 7 commits August 22, 2021 10:56
Thanks to Massimo for reporting.
I first sink these, because they are floating references. This is
actually quite unneeded here, because callbacks given to
gimp_action_group_add_procedure_actions() (this is what
filters_history_cmd_callback() is for) are not taking ownership of the
GVariant anyway. Yet just in case this ever changes, this is the proper
way to do it to avoid a double-free in the future. We take ownership in
the calling code, hence we free the variable there after using it.
As explained in GTK docs, size groups are referenced by every internal
widget hence can be immediately unref-ed after we added widgets in it.
In the end, when the widgets are destroyed (thus removed from the
group), the group will end up freed too.

Reported by Massimo.
Let's move the g_date_time_format() to the inner block when it's
actually used, hence also make sure we allocate and free at the same
code level, which is a better practice to limit leaks.

Reported by Massimo.
… default_mypaint_brush in gimp_core_config_finalize().

As reported by Massimo.
Thanks to Massimo for reporting.
@pull pull bot added the ⤵️ pull label Aug 22, 2021
@pull pull bot merged commit dd38b88 into Mu-L:master Aug 22, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant