diff src/ui-gtk.c @ 1811:3fe1a35b705d

[xemacs-hg @ 2003-11-29 22:11:47 by james] Several module-related cleanups.
author james
date Sat, 29 Nov 2003 22:11:49 +0000
parents a8d8f419b459
children c347bc6e2cb3
line wrap: on
line diff
--- a/src/ui-gtk.c	Fri Nov 28 22:50:32 2003 +0000
+++ b/src/ui-gtk.c	Sat Nov 29 22:11:49 2003 +0000
@@ -54,7 +54,7 @@
     {
       dll_cache = g_hash_table_new (g_str_hash, g_str_equal);
 
-      g_hash_table_insert (dll_cache, "---XEmacs Internal Handle---", dll_open (NULL));
+      g_hash_table_insert (dll_cache, "---XEmacs Internal Handle---", dll_open (Qnil));
     }
 }
 
@@ -80,7 +80,7 @@
 
   if (!h)
     {
-      h = dll_open ((char *) XSTRING_DATA (dll));
+      h = dll_open (dll);
 
       if (h)
 	{
@@ -89,7 +89,7 @@
       else
 	{
 	  signal_error (Qfile_error,
-			     "dll_open error", build_string (dll_error (NULL)));
+			"dll_open error", build_string (dll_error ()));
 	}
     }
   return (h ? Qt : Qnil);