Re: ANNOUNCE: Beagle & Libbeagle 0.3.4

"Arun Raghavan" <[email protected]>
Newsgroups gmane.comp.gnome.dashboard.devel
Message-ID <[email protected]>
On 24/03/2008, Stephan Hegel <[email protected]> wrote:
<snip>
> Configure works fine, but the build fails for beagle:
>
>  /usr/bin/gmcs -debug -out:Beagle.Search.exe -target:exe ...
>  ...
>  ./Beagle.Search/Driver.cs(127,37): error CS1501: No overload for method `Register' takes `2' arguments
>  Compilation failed: 1 error(s), 0 warnings

I'm assuming you have ndesk-dbus-0.4. Here's a patch to fix this. I've
committed this to svn too.

The problem is that the Bus.Register() method changed between
ndesk-dbus-0.4 and 0.6 (the 0.4 method being deprecated in 0.6).
-- 
Arun Raghavan
(http://nemesis.accosted.net)
v2sw5Chw4+5ln4pr6$OFck2ma4+9u8w3+1!m?l7+9GSCKi056
e6+9i4b8/9HTAen4+5g4/8APa2Xs8r1/2p5-8 hackerkey.com

_______________________________________________
Dashboard-hackers mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/dashboard-hackers
beagle-search-use-old-dbus-register.patch (text/x-patch, 475 B)
Index: search/Beagle.Search/Driver.cs
===================================================================
--- search/Beagle.Search/Driver.cs	(revision 4640)
+++ search/Beagle.Search/Driver.cs	(working copy)
@@ -124,7 +124,7 @@
 			if (!String.IsNullOrEmpty (query) || !icon_enabled)
 				search.Query (query);
 
-			Bus.Session.Register (new ObjectPath (PATH_NAME), search);
+			Bus.Session.Register (BUS_NAME, new ObjectPath (PATH_NAME), search);
 
 			program.Run ();
 		}
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.