After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 94361 - gtkdial example fixage
gtkdial example fixage
Status: RESOLVED FIXED
Product: gtk+
Classification: Platform
Component: Documentation
2.0.x
Other Linux
: Normal normal
: ---
Assigned To: gtk-bugs
gtk-bugs
Depends on:
Blocks:
 
 
Reported: 2002-09-27 13:07 UTC by Owen Taylor
Modified: 2004-12-22 21:47 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Owen Taylor 2002-09-27 13:07:45 UTC
In GtkDial examples ::destroy method:

  if (dial->adjustment)
    g_object_unref (GTK_OBJECT (dial->adjustment));

Should be

  if (dial->adjustment)
    {
      g_object_unref (GTK_OBJECT (dial->adjustment));
      dial->adjustment = NULL;
    }

(Olivier Fourdan pointed out on gtk-app-devel-list
that the gtkdial example segfaults if destroyed twice)