diff src/editors.h @ 768:ff51413f098d

Use functions to set editors name and command and ensure they are utf8-encoded. Previously, non-utf8 strings from rc file caused some issues.
author zas_
date Fri, 30 May 2008 08:39:52 +0000
parents 7148e125bf23
children cee16cea5f23
line wrap: on
line diff
--- a/src/editors.h	Fri May 30 08:36:23 2008 +0000
+++ b/src/editors.h	Fri May 30 08:39:52 2008 +0000
@@ -55,6 +55,8 @@
 */
 typedef gint (*EditorCallback) (gpointer ed, gint flags, GList *list, gpointer data);
 
+void editor_set_name(gint n, gchar *name);
+void editor_set_command(gint n, gchar *command);
 
 
 void editor_resume(gpointer ed);