From 986afdc0c5c599ff777561fb85233564ab1705a0 Mon Sep 17 00:00:00 2001 From: Giovanni Campagna Date: Tue, 16 Aug 2011 14:28:53 +0200 Subject: [PATCH] Port client side code to GDBus This continues the series of patches for GDBus porting, affecting all code that accesses remote DBus objects. This includes modemManager, automount, autorun (for the hotplug sniffer), calendar, network (for nm-applet only), power, scripting (for perf monitor interface) https://bugzilla.gnome.org/show_bug.cgi?id=648651 --- js/ui/status/network.js | 1 + js/ui/status/power.js | 1 + 2 files changed, 2 insertions(+) diff --git a/js/ui/status/network.js b/js/ui/status/network.js index 7265873b3..0cc2b64ea 100644 --- a/js/ui/status/network.js +++ b/js/ui/status/network.js @@ -1,6 +1,7 @@ // -*- mode: js; js-indent-level: 4; indent-tabs-mode: nil -*- const ByteArray = imports.byteArray; const GLib = imports.gi.GLib; +const Gio = imports.gi.Gio; const GObject = imports.gi.GObject; const Lang = imports.lang; const Mainloop = imports.mainloop; diff --git a/js/ui/status/power.js b/js/ui/status/power.js index fa77d552a..ac5f45cf8 100644 --- a/js/ui/status/power.js +++ b/js/ui/status/power.js @@ -1,6 +1,7 @@ // -*- mode: js; js-indent-level: 4; indent-tabs-mode: nil -*- const Gio = imports.gi.Gio; +const GLib = imports.gi.GLib; const Lang = imports.lang; const Mainloop = imports.mainloop; const Shell = imports.gi.Shell;