[gedit/gnome-3-12] Fix the windows build
- From: Ignacio Casal Quinteiro <icq src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gedit/gnome-3-12] Fix the windows build
- Date: Tue, 22 Jul 2014 10:23:04 +0000 (UTC)
commit 341251e989fe248195dfa6ec8decde95e31c3e57
Author: Ignacio Casal Quinteiro <icq gnome org>
Date: Tue Jul 22 11:25:53 2014 +0200
Fix the windows build
gedit/gedit.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/gedit/gedit.c b/gedit/gedit.c
index 102c2d3..a505b93 100644
--- a/gedit/gedit.c
+++ b/gedit/gedit.c
@@ -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;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]