comp.lang.ada
 help / color / mirror / Atom feed
From: "Dmitry A. Kazakov" <mailbox@dmitry-kazakov.de>
Subject: Re: GtkAda question
Date: Tue, 13 Apr 2021 13:55:35 +0200	[thread overview]
Message-ID: <s540rl$dda$1@gioia.aioe.org> (raw)
In-Reply-To: 60757b84$0$3240$426a74cc@news.free.fr

On 2021-04-13 13:07, DrPi wrote:

> That's what I've written (and use).
> However, I think the use of Error is incorrect in all Key_File functions.
> I will investigate further.

Handling GError is tricky. You must call Error_Free on it if returned 
not null.

Why on Earth you even use Key_File? It is much simpler to parse manually 
in Ada.

If you are stage IV lazy, there is GtkRecentManager that handles 
key-value pairs transparently to the application.

-- 
Regards,
Dmitry A. Kazakov
http://www.dmitry-kazakov.de

  reply	other threads:[~2021-04-13 11:55 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-04-12 21:45 GtkAda question DrPi
2021-04-13  9:53 ` Blady
2021-04-13 11:07   ` DrPi
2021-04-13 11:55     ` Dmitry A. Kazakov [this message]
2021-04-13 21:36       ` DrPi
2021-04-14  6:11         ` Dmitry A. Kazakov
2021-04-14 10:21           ` Emmanuel Briot
2021-04-14 19:28             ` DrPi
2021-04-14 20:23           ` DrPi
2021-04-14 21:05             ` Dmitry A. Kazakov
2021-04-17 19:56               ` DrPi
2021-04-13 22:00 ` Gautier write-only address
2021-04-14 19:27   ` DrPi
2021-04-14 20:40     ` Dmitry A. Kazakov
2021-04-17 19:58       ` DrPi
2021-04-18  9:34 ` DrPi
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox