[monkey-bubble: 354/753] Add this here until bonobo-moniker-extender-file.c is fixed. You will be



commit 32e3a4e3309c190d83b6fb7a3f9ee9cb0219e926
Author: Martin Baulig <baulig suse de>
Date:   Sat Jun 2 10:02:51 2001 +0000

    Add this here until bonobo-moniker-extender-file.c is fixed. You will be
    
    2001-06-02  Martin Baulig  <baulig suse de>
    
    	* libgnome-init.c (gnome_mime_type): Add this here until bonobo-moniker-extender-file.c
    	is fixed. You will be killed if you use this function !

 libgnome/ChangeLog    |    5 +++++
 libgnome/gnome-init.c |   13 +++++++++++++
 2 files changed, 18 insertions(+), 0 deletions(-)
---
diff --git a/libgnome/ChangeLog b/libgnome/ChangeLog
index 926bafa..abc5ef5 100644
--- a/libgnome/ChangeLog
+++ b/libgnome/ChangeLog
@@ -1,3 +1,8 @@
+2001-06-02  Martin Baulig  <baulig suse de>
+
+	* libgnome-init.c (gnome_mime_type): Add this here until bonobo-moniker-extender-file.c
+	is fixed. You will be killed if you use this function !
+
 2001-06-01  Martin Baulig  <baulig suse de>
 
 	* gnome-selector.c (PROP_PBAG_MAX_HISTORY_LINES): Implemented.
diff --git a/libgnome/gnome-init.c b/libgnome/gnome-init.c
index 689a5b7..d6e3456 100644
--- a/libgnome/gnome-init.c
+++ b/libgnome/gnome-init.c
@@ -453,3 +453,16 @@ GnomeModuleInfo libgnome_module_info = {
 	gnomelib_options,
 	NULL, NULL, NULL, NULL
 };
+
+#include <libgnomevfs/gnome-vfs-mime.h>
+/* This declaration is only here to make -Werror happy. */
+extern const char *gnome_mime_type (const char *);
+
+const char *
+gnome_mime_type (const char *filename)
+{
+    g_warning (G_STRLOC ": You will be killed if you use this function!");
+
+    return gnome_vfs_mime_type_from_name (filename);
+}
+



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]