copy & paste bug in bonobo/monikers/bonobo-moniker-extender-stream.c



Hi!

As reported in a (lengthy...) earlier e-mail, there is a copy & paste
bug in monikers/bonobo-moniker-extender-stream.c:

Index: bonobo-moniker-extender-stream.c
===================================================================
RCS file: /cvs/gnome/bonobo/monikers/bonobo-moniker-extender-stream.c,v
retrieving revision 1.3
diff -u -r1.3 bonobo-moniker-extender-stream.c
--- bonobo-moniker-extender-stream.c    2000/12/22 07:55:08     1.3
+++ bonobo-moniker-extender-stream.c    2001/02/04 17:46:23
@@ -68,7 +68,7 @@
 
        oaf_requirements = g_strdup_printf (
                "bonobo:supported_mime_types.has ('%s') AND repo_ids.has
('%s') AND "
-               "repo_ids.has (['IDL:Bonobo/PersistStream:1.0'])",
+               "repo_ids.has ('IDL:Bonobo/PersistStream:1.0')",
                mime_type, requested_interface);
                
        object = oaf_activate (oaf_requirements, NULL, 0, &ret_id, ev);

The similar code in bonobo-moniker-extender-file.c works without "[" and
"]". It seems that, until now, nobody has used the
bonobo-extender-stream... It now works fine with my digital camera.

It would be great if someone could commit above fix.

Thank you!

Lutz

-- 
                                                        \|||/
+------------------------------------------------+      (o o)
| Lutz Mueller           +49 (7156) 34837        +---ooO-(_)-Ooo---+
|                                                                  |
| Hans-Sachs-Strasse 5                                             |
| 71254 Ditzingen        http://www.uni-karlsruhe.de/~Lutz.Mueller |
| Germany                urc8 rz uni-karlsruhe de                  |
+------------------------------------------------------------------+





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