From: David Zeuthen <zeuthen@gmail.com>
To: linux-hotplug@vger.kernel.org
Subject: Re: Inconsistences using GUdev.Client
Date: Thu, 12 Apr 2012 15:32:19 +0000 [thread overview]
Message-ID: <CAHkOivSWKHT1sSz_71NjYWAA6gzkrwYGScTAUZXk5K9-c=itgQ@mail.gmail.com> (raw)
In-Reply-To: <CABpL_NdACqSWGs+oepbR4KpeDWu5wBseWBKbwSb5mZ3vvpENKA@mail.gmail.com>
Hi,
On Thu, Apr 12, 2012 at 8:18 AM, Javier Hernández Antúnez
<jhernandez@emergya.com> wrote:
> 16:59 < tomeu> the problem is people doing things in _new_* that
> should be done instead in _init or _construct
> 16:59 < tomeu> jhernandez: it's a bug that should be reported
> 17:00 < tomeu> (in GUDev)
> 17:00 < jhernandez> tomeu: ACK
I think you are confused, see
http://cgit.freedesktop.org/systemd/systemd/tree/src/udev/gudev/gudevclient.c#n318
basically, what we do is this
GUdevClient *
g_udev_client_new (const gchar * const *subsystems)
{
return G_UDEV_CLIENT (g_object_new (G_UDEV_TYPE_CLIENT,
"subsystems", subsystems, NULL));
}
I think the python bindings are just buggy - probably they don't
support GStrv GObject properties very well.
David
next prev parent reply other threads:[~2012-04-12 15:32 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-04-12 12:18 Inconsistences using GUdev.Client Javier Hernández Antúnez
2012-04-12 12:59 ` Javier Hernández Antúnez
2012-04-12 15:32 ` David Zeuthen [this message]
2012-05-05 21:42 ` Martin Pitt
2012-05-06 12:55 ` Martin Pitt
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='CAHkOivSWKHT1sSz_71NjYWAA6gzkrwYGScTAUZXk5K9-c=itgQ@mail.gmail.com' \
--to=zeuthen@gmail.com \
--cc=linux-hotplug@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).