Re: [PATCH spice-gtk 06/15] webdav: move initialization to session

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

 



Hi

On Tue, Nov 25, 2014 at 11:49 PM, Jonathon Jongsma <jjongsma@xxxxxxxxxx> wrote:
> I find this name a little inconsistent. Generally the first part of the
> function name indicates the type of object that this method belongs to.

Except constructors, like here.

> So I'd expect channel_webdav_server_new() to take a SpiceWebdavChannel*
> as its first argument, but it takes a SpiceSession* instead. So it seems
> that spice_session_webdav_server_new() would be a more appropriate name?
> Maybe even move it along to spice-session.c since its only caller just
> got moved there?

It can't easily, the constructor sets up callback in channel-webdav.


-- 
Marc-André Lureau
_______________________________________________
Spice-devel mailing list
Spice-devel@xxxxxxxxxxxxxxxxxxxxx
http://lists.freedesktop.org/mailman/listinfo/spice-devel





[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]     [Monitors]