[monkey-bubble: 283/753] Call gnome_vfs_init() and use this as pre-args-parse function for the
- From: Sven Herzberg <herzi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [monkey-bubble: 283/753] Call gnome_vfs_init() and use this as pre-args-parse function for the
- Date: Wed, 14 Jul 2010 22:19:26 +0000 (UTC)
commit ba4f8ab2788ff6e631bdffbc1d5a13d5e442d892
Author: Martin Baulig <baulig suse de>
Date: Tue May 15 20:49:49 2001 +0000
Call gnome_vfs_init() and use this as pre-args-parse function for the
2001-05-15 Martin Baulig <baulig suse de>
* libgnome-init.c (gnome_vfs_pre_args_parse): Call gnome_vfs_init()
and use this as pre-args-parse function for the gnome-vfs module.
libgnome/ChangeLog | 5 +++++
libgnome/gnome-init.c | 8 +++++++-
2 files changed, 12 insertions(+), 1 deletions(-)
---
diff --git a/libgnome/ChangeLog b/libgnome/ChangeLog
index 308510b..3ed3767 100644
--- a/libgnome/ChangeLog
+++ b/libgnome/ChangeLog
@@ -1,5 +1,10 @@
2001-05-15 Martin Baulig <baulig suse de>
+ * libgnome-init.c (gnome_vfs_pre_args_parse): Call gnome_vfs_init()
+ and use this as pre-args-parse function for the gnome-vfs module.
+
+2001-05-15 Martin Baulig <baulig suse de>
+
* Makefile.am (ORBIT_IDL): Use @ORBIT_IDL@ rather than
hardcoding `orbit-idl'.
diff --git a/libgnome/gnome-init.c b/libgnome/gnome-init.c
index 54cf22e..bdccba4 100644
--- a/libgnome/gnome-init.c
+++ b/libgnome/gnome-init.c
@@ -420,10 +420,16 @@ static struct poptOption gnomelib_options [] = {
{ NULL, '\0', 0, NULL, 0 }
};
+static void
+gnome_vfs_pre_args_parse (GnomeProgram *program, GnomeModuleInfo *mod_info)
+{
+ gnome_vfs_init ();
+}
+
GnomeModuleInfo gnome_vfs_module_info = {
"gnome-vfs", GNOMEVFSVERSION, "GNOME Virtual Filesystem",
NULL, NULL,
- (GnomeModuleHook) gnome_vfs_preinit, (GnomeModuleHook) gnome_vfs_postinit,
+ gnome_vfs_pre_args_parse, NULL,
NULL,
(GnomeModuleInitHook) gnome_vfs_loadinit,
NULL
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]