diff src/gui-x.c @ 440:8de8e3f6228a r21-2-28

Import from CVS: tag r21-2-28
author cvs
date Mon, 13 Aug 2007 11:33:38 +0200
parents 080151679be2
children abe6d1db359e
line wrap: on
line diff
--- a/src/gui-x.c	Mon Aug 13 11:32:27 2007 +0200
+++ b/src/gui-x.c	Mon Aug 13 11:33:38 2007 +0200
@@ -313,7 +313,7 @@
   /* !!#### This function has not been Mule-ized */
   /* This function cannot GC because gc_currently_forbidden is set when
      it's called */
-  struct Lisp_Gui_Item* pgui = 0;
+  Lisp_Gui_Item* pgui = 0;
 
   /* degenerate case */
   if (STRINGP (gui_item))
@@ -358,7 +358,9 @@
 	  CHECK_STRING (suffix2);
 	}
 
-      GET_C_STRING_FILENAME_DATA_ALLOCA (suffix2, const_bogosity);
+      TO_EXTERNAL_FORMAT (LISP_STRING, suffix2,
+			  C_STRING_ALLOCA, const_bogosity,
+			  Qfile_name);
       wv->value = (char *) const_bogosity;
       wv->value = xstrdup (wv->value);
     }
@@ -466,17 +468,17 @@
       wv = xmalloc_widget_value();
       if (parent)
 	parent->contents = wv;
-      else 
+      else
 	prev->next = wv;
       if (!button_item_to_widget_value (items, wv, 0, 1))
 	{
 	  free_widget_value_tree (wv);
 	  if (parent)
 	    parent->contents = 0;
-	  else 
+	  else
 	    prev->next = 0;
 	}
-      else 
+      else
 	{
 	  wv->value = xstrdup (wv->name);	/* what a mess... */
 	}