emacs-devel
[Top][All Lists]
Advanced

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

Re: DBus methods without name grabbing


From: Jan Moringen
Subject: Re: DBus methods without name grabbing
Date: Wed, 05 Jan 2011 11:46:45 +0100

> > >> - We might introduce a new function `dbus-register-service' (in 
> > >> dbusbind.c).
> > >>   It could offer optional argument flags, a list of the supported flags
> > >>   of "org.freedesktop.DBus.RequestName"
> > >>   (DBUS_NAME_FLAG_ALLOW_REPLACEMENT, DBUS_NAME_FLAG_REPLACE_EXISTING,
> > >>   DBUS_NAME_FLAG_DO_NOT_QUEUE). This function shall be called in
> > >>   `dbus-register-method' and `dbus-register-property' when
> > >>   `dont-register-service' is nil. Btw, the function
> > >>   `dbus-unregister-service' exists already ...
> > >
> > > I would rather tackle this change in a separate patch later.
> > 
> > OK, I'll do it next days (except you want to do it yourself :-)
> 
> I gave it a shot. See attached patch. Like the last patch, this probably
> needs revision.

I forgot to check dont_register_service in dbus_register_method, but I
can't make an updated patch right now.

Kind regards,
Jan




reply via email to

[Prev in Thread] Current Thread [Next in Thread]