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

gEDA-cvs: CVS update: x_autonumber.c



  User: sdb     
  Date: 06/12/18 06:15:17

  Modified:    .        x_autonumber.c
  Log:
  Removed GTK-2.6 ism, replaced with 2.4 fcns.
  
  
  
  
  Revision  Changes    Path
  1.4       +2 -1      eda/geda/gaf/gschem/src/x_autonumber.c
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: x_autonumber.c
  ===================================================================
  RCS file: /home/cvspsrv/cvsroot/eda/geda/gaf/gschem/src/x_autonumber.c,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -b -r1.3 -r1.4
  --- x_autonumber.c	17 Dec 2006 04:14:03 -0000	1.3
  +++ x_autonumber.c	18 Dec 2006 11:15:17 -0000	1.4
  @@ -1080,7 +1080,8 @@
   
     /* Search text history */
     widget = lookup_widget(autotext->dialog, "scope_text");
  -  text=gtk_combo_box_get_active_text( GTK_COMBO_BOX(widget) );
  +  widget = gtk_bin_get_child(GTK_BIN(widget));
  +  text = g_strdup(gtk_entry_get_text( GTK_ENTRY(widget)));
   
     autotext->scope_text=autonumber_history_add(autotext->scope_text, text);
   
  
  
  


_______________________________________________
geda-cvs mailing list
geda-cvs@xxxxxxxxxxxxxx
http://www.seul.org/cgi-bin/mailman/listinfo/geda-cvs