aboutsummaryrefslogtreecommitdiff
path: root/src/device-menu-mgr.c
diff options
context:
space:
mode:
authorCharles Kerr <charles.kerr@canonical.com>2012-06-04 19:11:25 -0500
committerCharles Kerr <charles.kerr@canonical.com>2012-06-04 19:11:25 -0500
commitfb89365ff1f8be1b407d1e0519c3d28744692011 (patch)
tree4ce824957bbe40e1cf37f6739df2e678153e7c68 /src/device-menu-mgr.c
parent09ed92a81c950f6b2221652281c04c1c85e68177 (diff)
downloadayatana-indicator-session-fb89365ff1f8be1b407d1e0519c3d28744692011.tar.gz
ayatana-indicator-session-fb89365ff1f8be1b407d1e0519c3d28744692011.tar.bz2
ayatana-indicator-session-fb89365ff1f8be1b407d1e0519c3d28744692011.zip
remove our udev dependency now that we no longer use it to look at devices
Diffstat (limited to 'src/device-menu-mgr.c')
-rw-r--r--src/device-menu-mgr.c11
1 files changed, 0 insertions, 11 deletions
diff --git a/src/device-menu-mgr.c b/src/device-menu-mgr.c
index 81182b9..5a31716 100644
--- a/src/device-menu-mgr.c
+++ b/src/device-menu-mgr.c
@@ -32,10 +32,6 @@ with this program. If not, see <http://www.gnu.org/licenses/>.
#include "lock-helper.h"
#include "upower-client.h"
-#ifdef HAS_GUDEV
-#include "udev-mgr.h"
-#endif /* HAS_GUDEV */
-
#define UP_ADDRESS "org.freedesktop.UPower"
#define UP_OBJECT "/org/freedesktop/UPower"
#define UP_INTERFACE "org.freedesktop.UPower"
@@ -47,9 +43,6 @@ struct _DeviceMenuMgr
GObject parent_instance;
DbusmenuMenuitem* root_item;
SessionDbus* session_dbus_interface;
-#ifdef HAS_GUDEV
- UdevMgr* udev_mgr;
-#endif /* HAS_GUDEV */
};
static GSettings *lockdown_settings = NULL;
@@ -579,10 +572,6 @@ device_menu_mgr_build_static_items (DeviceMenuMgr* self, gboolean greeter_mode)
restart_shutdown_logout_mi->shutdown_mi = shutdown_mi;
update_menu_entries(restart_shutdown_logout_mi);
-#ifdef HAS_GUDEV
- // Time to create the udev mgr and hand it the static relevant items.
- self->udev_mgr = udev_mgr_new (scanners_menuitem, webcam_menuitem);
-#endif
}
static void