small fix in gtksignal.c



Hello.
I noticed small thing in gtk_signall_connect_full.
Is this right?
and/or reported?

# The last arg of gtk_signal_connect_by_type is *no*_marshal.



*** gtk+-1.0.1/gtk/gtksignal.c	Wed May 20 12:38:55 1998
--- gtk+/gtk/gtksignal.c	Mon May 18 17:47:47 1998
***************
*** 731,741 ****
    if (marshal)
      return gtk_signal_connect_by_type (object, signal_id, (GtkSignalFunc) marshal, 
  				       func_data, destroy_func, 
! 				       object_signal, after, TRUE);
    else
      return gtk_signal_connect_by_type (object, signal_id, func, 
  				       func_data, destroy_func, 
! 				       object_signal, after, FALSE);
  }
  
  guint
--- 731,741 ----
    if (marshal)
      return gtk_signal_connect_by_type (object, signal_id, (GtkSignalFunc) marshal, 
  				       func_data, destroy_func, 
! 				       object_signal, after, FALSE);
    else
      return gtk_signal_connect_by_type (object, signal_id, func, 
  				       func_data, destroy_func, 
! 				       object_signal, after, TRUE);
  }
  
  guint

------------------------------------------------------------
TANAKA Shinya
tanaka@garlic.q.t.u-tokyo.ac.jp




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