OAF query in gnome-debug?
- From: Ed Snible <esnible acm org>
- To: gnome-devtools gnome org
- Cc: Dave Camp <dave ximian com>
- Subject: OAF query in gnome-debug?
- Date: Thu, 30 Aug 2001 13:53:12 -0400
The query string in gnome-debug's gdf_debugger_client_new_for_mime_type()
seems incorrect. I wasn't getting back a GbfDebuggerClient until I set the
query to
query = g_strdup_printf (
"repo_ids.has ('IDL:GNOME/Development/Debugger:1.0')
^^^^^^^^^^^^^^^^^
AND bonobo:supported_mime_types.has ('%s')",
^^^^^^^
the old query,
query = g_strdup_printf (
"repo_ids.has ('IDL:GDF/Debugger:1.0')
AND supported_mime_types.has ('%s')",
didn't find anything.
(To reach this point I had to change gIDE's get_target_filename() to not add
".lib/" to the target path.)
gIDE gives a segmentation fault dialog soon afterward this but no core file
is produced... I don't know how to backtrace it yet.
-Ed
PS FYI: oaf-run-query was very helpful in troubleshooting this problem.
Ximian's OAF .rpms don't provide it and the autogen.sh in the GNOME CVS oaf
was no picnic. If anyone is trying to build it by hand:
(get CVS oaf)
$ cd oaf/test
$ touch empty.h
$ gcc -c -I/usr/include/liboaf -I/usr/include/glib-1.2
-I/usr/lib/glib/include oaf-run-query.c
$ libtool --mode=link gcc -g -O2 -o oaf-run-query oaf-run-query.o
/usr/lib/liboaf.la -L/usr/lib -lORBit -lIIOP -lORBitutil -lglib -lm
-L/usr/lib -rdynamic -lgmodule -lglib -ldl -lpopt
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]