You have been subscribed to a public bug:

I have recently installed Ubuntu 18.04 on a new computer and have a
Gtk+3.0 program that reports an error:-

Gtk-CRITICAL  gtk_widget_is_drawable: assertion 'GTK_IS_WIDGET (widget)'
failed

The same program runs without error on another computer with 16.04.

The problem occurs when a ComboBoxText widget in a container (grid) is 
destroyed using gtk_widget_destroy.
Other widgets may be affected but the problem does not occur for GtkScale 
widgets. The widget does actually get destroyed, but the message is produced in 
the process.
I have also found that using gtk_container_remove avoids the error, but the 
docs indicate that this is
inefficient and not preferred.

I have attached a test program to reproduce the error. It also includes
a few other things that I tried to see if they made any difference but
to no avail. 'Destroy cbox' is the essential test to reproduce.

System details:
Description:    Ubuntu 18.04.1 LTS
Release:        18.04

libwxgtk3.0-dev:
  Installed: (none)
  Candidate: 3.0.4+dfsg-3
  Version table:
     3.0.4+dfsg-3 500
        500 http://au.archive.ubuntu.com/ubuntu bionic/universe amd64 Packages

** Affects: gtk+3.0 (Ubuntu)
     Importance: Low
         Status: Fix Released


** Tags: destroy gtk widget
-- 
gtk_widget_destroy reports error
https://bugs.launchpad.net/bugs/1816032
You received this bug notification because you are a member of Ubuntu Desktop 
Bugs, which is subscribed to gtk+3.0 in Ubuntu.

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs

Reply via email to