Re: GTK warning

2009-02-22 Thread Freddie Unpenstein
From: "Stefan Kost" , 22/02/2009 21:59: >> I'm running my program with --g-fatal-warnings at the end of the command >> line. I don't know whether that flag does anything in PyGTK, though. > That flag work on Glib level and makes warnings fatal to be able to get a > backtrace in gdb. For refcounts

Re: GTK warning

2009-02-22 Thread John Coppens
On Sat, 21 Feb 2009 08:16:44 -0700 Jeffrey Barish wrote: > I hate the warning messages that GTK provides because they rarely help > me find the problem. What does this one mean? > > /myprogram.py:118: Warning: g_object_unref: assertion > `object->ref_count > 0' failed > self['myimage'].set_fr

Drag 'n' Drop behavior in Windows

2009-02-22 Thread Bob Snyder
Hello, As a user of Geany, I was surprised to find that when attempting to move selected text by d'n'd, that the default behavior under WinXP was copy where I had expected it to be move as it is in Linux. When I brought this up on the Geany list, I was told that this behavior is part of GTK.

Re: GTK warning

2009-02-22 Thread Stefan Kost
Jeffrey Barish schrieb: > Stefan Kost wrote: > >> How should gobject know the name of your variable? In GStreamer we have a >> GstObejct which has a name property, that makes it easier. > > How do you know it's one of my variables that is being unreferenced? The > warning message refers me to li

Re: GTK warning

2009-02-22 Thread Jeffrey Barish
Stefan Kost wrote: > How should gobject know the name of your variable? In GStreamer we have a > GstObejct which has a name property, that makes it easier. How do you know it's one of my variables that is being unreferenced? The warning message refers me to line 118 where I don't see that any of

Can't open svg file by gdk_pixbuf_new_from_file_at_scale in Gtk2.14

2009-02-22 Thread raymond Liu
Hi,all, I'm using Gtk+ 2.14 I got some problems when using gdk_pixbuf_new_from_file_at_scale. I wanna open a svg format file. If I called gdk_pixbuf_new_from_file_at_scale, and the GError said "Unrecognized image file format". But if I called gdk_pixbuf_new_from_file, it did work! I traced the Gt

Re: GTK warning

2009-02-22 Thread Stefan Kost
hi, Jeffrey Barish schrieb: > Dov Grobgeld wrote: >> 2009/2/21 Jeffrey Barish >> >>> I hate the warning messages that GTK provides because they rarely help me >>> find the problem. What does this one mean? >>> >>> /myprogram.py:118: Warning: g_object_unref: assertion `object->ref_count 0' f