git://git.jankratochvil.net
/
captive.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Integrate static packaing into the CVS HEAD; make it even default.
[captive.git]
/
src
/
client
/
lufs
/
captivefs-vfs.c
diff --git
a/src/client/lufs/captivefs-vfs.c
b/src/client/lufs/captivefs-vfs.c
index
90c7b3a
..
3f04b75
100644
(file)
--- a/
src/client/lufs/captivefs-vfs.c
+++ b/
src/client/lufs/captivefs-vfs.c
@@
-28,6
+28,7
@@
#include <captive/client-vfs.h>
#include <captive/options.h>
#include <captive/macros.h>
#include <captive/client-vfs.h>
#include <captive/options.h>
#include <captive/macros.h>
+#include <captive/client.h>
#include <lufs/fs.h>
#include <lufs/proto.h>
#include <lufs/fs.h>
#include <lufs/proto.h>
@@
-106,15
+107,11
@@
gchar *gs,*captive_options_string;
}
G_UNLOCK(libcaptive);
}
G_UNLOCK(libcaptive);
- /* Initialize i18n for proper nl_langinfo(CODESET) for _g_locale_charset_raw() for g_filename_from_utf8(). */
- setlocale(LC_ALL,"");
+ captive_standalone_init();
if (!g_thread_supported())
g_thread_init(NULL); /* g_thread_init() fails on second initialization */
if (!g_thread_supported())
g_thread_init(NULL); /* g_thread_init() fails on second initialization */
- /* Initialize GObject subsystem of GLib. */
- g_type_init();
-
captive_new(captivefs_vfs);
captivefs_vfs->captive_vfs_object=NULL;
captivefs_vfs->private=FALSE;
captive_new(captivefs_vfs);
captivefs_vfs->captive_vfs_object=NULL;
captivefs_vfs->private=FALSE;