On Fri, 2007-09-28 at 16:24 -0500, Federico Mena Quintero wrote:
By the way, this is a *TERRIBLE* idea. I don't remember why I wrote the
code that way. Please don't follow that broken pattern.
if I may guess, it's because otherwise you'd have to unref the returned
widget, which would be a
On 9/28/07, Federico Mena Quintero [EMAIL PROTECTED] wrote:
On Thu, 2007-09-20 at 08:34 +0200, Raffaele Sandrini wrote:
Take a look at 'gtk_file_chooser_get_preview_widget'. While the hack
done there is somehow possible with objects it is not with strings.
GtkWidget *
On Thu, 2007-09-20 at 08:34 +0200, Raffaele Sandrini wrote:
Take a look at 'gtk_file_chooser_get_preview_widget'. While the hack
done there is somehow possible with objects it is not with strings.
GtkWidget *
gtk_file_chooser_get_preview_widget (GtkFileChooser *chooser)
{
GtkWidget
On Wed, 2007-09-19 at 19:20 +0200, David Nečas (Yeti) wrote:
On Wed, Sep 19, 2007 at 06:48:25PM +0200, Raffaele Sandrini wrote:
Since we do not see a way around this (yet) and we could not find an
example with strings in another project. I'm asking here if there is a
nice way around
On Wed, 2007-09-19 at 19:17 +0200, Tim Janik wrote:
BTW: There are equal issues with properties returning objects only there
you can add a hack into the getter unrefing the object before returning
it. This is not applicable with strings.
this is not applicable with objects. as soon as
On Thu, 20 Sep 2007, Raffaele Sandrini wrote:
On Wed, 2007-09-19 at 19:17 +0200, Tim Janik wrote:
erm, no. that's at least not a clean solution, ref counts may increase and
decrease at any point in time for random reasons (caches, garbage collection
algorithms, etc...), even from
Hi there,
While implementing abstract properties in Vala we encountered a problem
regarding string properties with getter and setter functions:
public interface Test.MyIface {
public abstract string text { get; }
}
A getter function of an abstract string property looks like:
char*
On 9/19/07, Raffaele Sandrini [EMAIL PROTECTED] wrote:
Ok i see there is need to clarify things.
On Wed, 2007-09-19 at 17:53 +0200, Tim Janik wrote:
On Wed, 19 Sep 2007, Raffaele Sandrini wrote:
Hi there,
While implementing abstract properties in Vala we encountered a
problem
On Wed, Sep 19, 2007 at 06:48:25PM +0200, Raffaele Sandrini wrote:
Since we do not see a way around this (yet) and we could not find an
example with strings in another project. I'm asking here if there is a
nice way around this.
i'm really not sure i understand your problem here...