Fix the windows build

parent a45c448b
......@@ -40,7 +40,7 @@ static GModule *libgedit_dll = NULL;
/* This code must live in gedit.exe, not in libgedit.dll, since the whole
* point is to find and load libgedit.dll.
*/
static void
static gboolean
gedit_w32_load_private_dll (void)
{
gchar *dllpath;
......@@ -69,7 +69,7 @@ gedit_w32_load_private_dll (void)
libgedit_dll = g_module_open ("libgedit.dll", 0);
}
return (libgedit_dll != NULL)
return (libgedit_dll != NULL);
}
static void
......@@ -96,7 +96,7 @@ main (int argc, char *argv[])
#ifdef G_OS_WIN32
if (!gedit_w32_load_private_dll ())
{
g_printerr ("Failed to load libgedit DLL\n")
g_printerr ("Failed to load libgedit DLL\n");
return 1;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment