warning displayed when a gtkfilechooser is closed

Bug #276854 reported by costales
4
Affects Status Importance Assigned to Milestone
gtk+2.0 (Ubuntu)
Fix Released
Low
Ubuntu Desktop Bugs

Bug Description

Hi!
If I create a file dialog, and use the destroy method, return one error:
marquinos@marquinos-laptop:~/Desktop$ python gufw.py
gufw.py:19: Warning: g_object_unref: assertion `G_IS_OBJECT (object)' failed
  dialog.destroy()
End program
marquinos@marquinos-laptop:~/Desktop$

If you change .destroy() by .hide() it works.
But .destroy() works fine in Hardy and previus Intrepid kernel.

I don't know if is of python or gtk.
Best regards.

Intrepid Ibex updated to kernel 2.6.27-4-generic

Related branches

Revision history for this message
costales (costales) wrote :
description: updated
description: updated
description: updated
Revision history for this message
Sebastien Bacher (seb128) wrote :

thank you for your bug report, the issue is not pygtk specific and is a known gtk bug already fixed in svn

Changed in pygtk:
assignee: nobody → desktop-bugs
importance: Undecided → Low
status: New → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package gtk+2.0 - 2.14.3-0ubuntu3

---------------
gtk+2.0 (2.14.3-0ubuntu3) intrepid; urgency=low

  * debian/patches/090_no_fileselector_warning.patch:
    - don't unref when not required and fix a warning (lp: #276854)

 -- Sebastien Bacher <email address hidden> Mon, 06 Oct 2008 17:36:48 +0200

Changed in gtk+2.0:
status: Fix Committed → Fix Released
Revision history for this message
costales (costales) wrote :

I update Intrepid now, and it crash with the same message.
This bug isn't fixed.
I think is high because the application give a crash report.
Best regards.

Changed in gtk+2.0:
status: Fix Released → Confirmed
Revision history for this message
Gert Kulyk (gkulyk) wrote :

@Marcos:
Are you sure you are using gtk+2.0 (2.14.3-0ubuntu3)? I'm not sure if is even build yet.

Revision history for this message
costales (costales) wrote :

How can I know if I use 2.14.3-0ubuntu3?
Which package is? gtk-engines?

Revision history for this message
Gert Kulyk (gkulyk) wrote :

Maybe there are easier ways, but e.g. this should work:

Open a terminal and issue: dpkg -p libgtk2.0-0 |grep Version

For me it is still 2.14.3-0ubuntu2 and I'm using the main archive server.

Revision history for this message
costales (costales) wrote :

Version: 2.14.3-0ubuntu2

It's the last version in Synaptic :O

Revision history for this message
Sebastien Bacher (seb128) wrote :

don't reopen a closed bug it you didn't try the fixed version

Changed in gtk+2.0:
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Bug attachments

Remote bug watches

Bug watches keep track of this bug in other bug trackers.