[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Appstream + Gnome



On 03/01/2020 00:48, Simon McVittie wrote:
>     Glib::Object::Introspection->invoke("GLib", undef, "set_prgname", "com.example.Test");

I hadn't thought of that!

Up to now, I'd only seen GIO used for gtk, and it didn't occur to me to
try it.

The user has confirmed that this solves the problem. Thanks for your help.

> Either way I'd recommend reporting the absence of g_set_prgname() as a bug
> (or at least a feature request), since it's sometimes necessary to control
> what GLib thinks the program's basename is.

I'll work up a patch as soon as I get a moment.

Regards

Jeff

Attachment: signature.asc
Description: OpenPGP digital signature


Reply to: