[954] in The GTK GIMP ToolKit mailing list archive
[gtk-list] [bug] serious typo in gtk_text_set_adjustments
daemon@ATHENA.MIT.EDU (Marius Vollmer)
Mon Sep 15 15:56:54 1997
To: gtk-list@redhat.com
From: Marius Vollmer <mvo@zagadka.ping.de>
Date: 15 Sep 1997 20:30:55 +0200
Resent-From: gtk-list@redhat.com
Reply-To: gtk-list@redhat.com
Hi,
there is a typo in gtk_text_set_adjustments. It bumps the ref count
of the hadj twice.
Around gtktext.c:459
if (text->vadj != vadj)
{
text->vadj = vadj;
gtk_object_ref (GTK_OBJECT (text->hadj));
^^^
gtk_signal_connect (GTK_OBJECT (text->vadj), "changed",
(GtkSignalFunc) gtk_text_adjustment,
text);
--
To unsubscribe: mail -s unsubscribe gtk-list-request@redhat.com < /dev/null