~do-plugins/do-plugins/trunk

« back to all changes in this revision

Viewing changes to GNOME-Session/src/PowerManagement.cs

  • Committer: Christopher James Halse Rogers
  • Date: 2011-08-06 11:38:07 UTC
  • Revision ID: raof@ubuntu.com-20110806113807-pril1td0vg7kkm51
Build all plugins against dbus-sharp when available.

Fall back to NDesk.DBus for those plugins which can use it when dbus-sharp is
unavailable

Show diffs side-by-side

added added

removed removed

Lines of Context:
20
20
using System;
21
21
using System.Diagnostics;
22
22
 
 
23
#if USE_DBUS_SHARP
 
24
using DBus;
 
25
#else
23
26
using NDesk.DBus;
 
27
#endif
 
28
 
24
29
using org.freedesktop.DBus;
25
30
 
26
31
using Do.Platform;