Re: bugzilla cleanup

2013-02-05 Thread Ross Lagerwall
On Mon, Feb 04, 2013 at 10:07:57AM -0500, Matthias Clasen wrote: Just thought I should mention this, so nobody gets upset if their favourite 10 year old bug is WONTFIXed... With the recent xinput2 work, it would be nice to see this bug get fixed:

Re: Problems with un-owned objects passed to closures in pygobject (gtk_cell_renderer_text_start_editing)

2013-02-05 Thread Simon Feltman
The side affect of GtkWindow is actually fine in this case because the annotation of transfer none for gtk_window_new makes sense here. The function is specifying it returns an internal borrowed reference and Python will add an additional ref during the wrappers lifetime. However, there is trouble

Re: Problems with un-owned objects passed to closures in pygobject (gtk_cell_renderer_text_start_editing)

2013-02-05 Thread Simon McVittie
On 29/01/13 11:44, Simon Feltman wrote: It seems like the problem at hand can be solved by maintaining the floating ref and adding our own safety ref for the wrapper. My impression was that floating references were purely for C convenience, and that interpreted languages with their own

quick question

2013-02-05 Thread D.H. Bahr
is it possible to set an image as a background for a widget, say a GtkEventBox? Best regards, D.H. Bahr ___ gtk-devel-list mailing list gtk-devel-list@gnome.org https://mail.gnome.org/mailman/listinfo/gtk-devel-list

Re: Problems with un-owned objects passed to closures in pygobject (gtk_cell_renderer_text_start_editing)

2013-02-05 Thread Simon Feltman
This is basically how PyGObject works now. There are no problems with this during casual usage when Python is always in the position of the caller. The problem is this scheme does not work with the marshaling of floating widgets passed into Python vfuncs/closures as arguments or intended as return

Re: Problems with un-owned objects passed to closures in pygobject (gtk_cell_renderer_text_start_editing)

2013-02-05 Thread Simon Feltman
For completeness, the two major problems are as follows: https://bugzilla.gnome.org/show_bug.cgi?id=687522 This is a vfunc implementation which the gtk internals are basically expecting a floating ref from. Using the standard scheme just listed, we sink and own the created MenuToolButton. The

Re: quick question

2013-02-05 Thread D.H. Bahr
Thanks, I've been working around that using CSS.. El mar, 05-02-2013 a las 09:09 -0500, Peter Hurley escribió: On Tue, 2013-02-05 at 07:49 -0500, D.H. Bahr wrote: is it possible to set an image as a background for a widget, say a GtkEventBox? Broken since 3.3. See

Re: quick question

2013-02-05 Thread Peter Hurley
On Tue, 2013-02-05 at 07:49 -0500, D.H. Bahr wrote: is it possible to set an image as a background for a widget, say a GtkEventBox? Broken since 3.3. See https://bugzilla.gnome.org/show_bug.cgi?id=672858 Regards, Peter Hurley ___ gtk-devel-list

Re: bugzilla cleanup

2013-02-05 Thread Krzysztof Kosiński
2013/2/4 Matthias Clasen matthias.cla...@gmail.com: Hi everybody, a while ago, we've talked about getting a handle on the enormous number of open bugs in glib and gtk. This bug, which makes GOption useless on Windows and has accumulated 93 comments so far, could be easily fixed (it has

Re: bugzilla cleanup

2013-02-05 Thread Behdad Esfahbod
On 02/05/2013 02:13 PM, Krzysztof Kosiński wrote: 2013/2/4 Matthias Clasen matthias.cla...@gmail.com: Hi everybody, a while ago, we've talked about getting a handle on the enormous number of open bugs in glib and gtk. This bug, which makes GOption useless on Windows and has accumulated 93

Re: bugzilla cleanup

2013-02-05 Thread Josh Andler
On Tue, Feb 5, 2013 at 11:27 AM, Behdad Esfahbod beh...@behdad.org wrote: On 02/05/2013 02:13 PM, Krzysztof Kosiński wrote: This bug, which makes GOption useless on Windows and has accumulated 93 comments so far, could be easily fixed (it has patches) if someone finally decided which way is

Re: bugzilla cleanup

2013-02-05 Thread Morten Welinder
It can be easily fixed in the sense that every application also would then need to be fixed... Behdad, you're sitting in your ivory tower and throwing mud at suggested patches from people who suffer from this bug. What is the point of that? In the meantime, as Krzysztof points out, GOption

Re: Problems with un-owned objects passed to closures in pygobject (gtk_cell_renderer_text_start_editing)

2013-02-05 Thread Colin Walters
On Tue, 2013-02-05 at 05:33 -0800, Simon Feltman wrote: For completeness, the two major problems are as follows: https://bugzilla.gnome.org/show_bug.cgi?id=687522 This is a vfunc implementation which the gtk internals are basically expecting a floating ref from. Using the standard scheme

Re: bugzilla cleanup

2013-02-05 Thread Matthias Clasen
On Tue, Feb 5, 2013 at 3:49 PM, Morten Welinder mort...@gnome.org wrote: Note, that there are other large parts of glib, such as gio, that have basically don't work on win32. And have five-year old patches in bugzilla. Getting win32 patches merged requires somebody with an interest in

Re: bugzilla cleanup

2013-02-05 Thread Tristan Van Berkom
On Wed, Feb 6, 2013 at 9:24 AM, Matthias Clasen matthias.cla...@gmail.com wrote: On Tue, Feb 5, 2013 at 3:49 PM, Morten Welinder mort...@gnome.org wrote: Note, that there are other large parts of glib, such as gio, that have basically don't work on win32. And have five-year old patches in