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

Re: gEDA-user: current working file name in gschemrc



Paul Tan wrote:

> Hope it helps. 

I still get segfaults. My get_selected_filename procedure
looks like this now:

/-----------------------
SCM get_selected_filename(GSCHEM_TOPLEVEL *w_current)
{ 
  gchar* s;
  SCM return_value;
  
  exit_if_null(w_current);
  s = g_strdup(w_current->toplevel->page_current->page_filename);
  return_value = scm_makfrom0str (s);
  g_free (s);
  return (return_value);
}
\------------------------

---<)kaimartin(>----
-- 
Kai-Martin Knaak
Öffentlicher PGP-Schlüssel:
http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x6C0B9F53



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