[bug] serious typo in gtk_text_set_adjustments



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);



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]