gksu-devel
[Top][All Lists]
Advanced

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

Re: libgksu, savannah and sudo


From: Allan Douglas
Subject: Re: libgksu, savannah and sudo
Date: Sat, 24 Jan 2004 23:10:13 -0200

On Thu, 22 Jan 2004 13:57:52 -0200
Gustavo Noronha Silva <address@hidden> wrote:

> Hello people,
=D

> 
> We have a GKSuContext structure which will be created by a function
> like gksu_context_new () -- that context will need to be freed by
> gksu_context_free (). This solves a lot of problems, like the huge
> memory leaks that do exist in libgksu now and which I can't think
> of a good way to handle.

Which memory leaks libgksu have?

> It also solves the problem of wanting to use gksu many times
> inside the same program with different configurations without
> the need to keep a function to switch contexts (by calling gksu_set_*
> everytime).

Good.

> Then we still have the getter/setter functions, but they'll receive
> a GKSUContext* as argument, as well as gksu_run and gksu_sudo_run.
> The gtk_init'ing stuff will be hidden, and will be called by gksu_run
> or gksu_sudo_run.

GKSUContext is something like a GkConf structure?

> This is because I will try to provide a gksu_set_display, which the
> calling program will be able to set, and that needs to be done
> *before* gtk_init... but all this gtk_init thingy is quite a doubt at
> this time -- what do people think?

How gksu_set_display works? It sets X's display? (:0.0, :1, etc)



[]'s




reply via email to

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