diff options
author | TingPing <tingping@fedoraproject.org> | 2014-06-04 11:15:35 -0400 |
---|---|---|
committer | TingPing <tingping@fedoraproject.org> | 2014-06-04 11:15:35 -0400 |
commit | 11e3ecc739ab4ae4359ee12176b893d9b5e314cd (patch) | |
tree | afea836fcceb16c105f2b4c4278f9b0be2e830e1 /src/fe-gtk/sexy-spell-entry.c | |
parent | 5849a0588e7b12003f8b9afcfcdc31f46c6b2329 (diff) |
Stop hardcoding plugin extensions everywhere
Diffstat (limited to 'src/fe-gtk/sexy-spell-entry.c')
-rw-r--r-- | src/fe-gtk/sexy-spell-entry.c | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/src/fe-gtk/sexy-spell-entry.c b/src/fe-gtk/sexy-spell-entry.c index 6ad7ab49..c2c2a4db 100644 --- a/src/fe-gtk/sexy-spell-entry.c +++ b/src/fe-gtk/sexy-spell-entry.c @@ -153,11 +153,8 @@ initialize_enchant () GModule *enchant; gpointer funcptr; -#ifdef WIN32 - enchant = g_module_open("libenchant.dll", 0); -#else - enchant = g_module_open("libenchant", 0); -#endif + + enchant = g_module_open("libenchant."G_MODULE_SUFFIX, 0); if (enchant == NULL) { #ifndef WIN32 |