From 66283c87ede5b6fe6d2679cfe77a08f820fc61d2 Mon Sep 17 00:00:00 2001 From: Jens Granseuer Date: Tue, 3 Apr 2007 19:17:47 +0000 Subject: [PATCH] move function inside USE_HAL 2007-04-03 Jens Granseuer * sound-properties-capplet.c: (remove_device): move function inside USE_HAL svn path=/trunk/; revision=7438 --- capplets/sound/ChangeLog | 5 +++++ capplets/sound/sound-properties-capplet.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/capplets/sound/ChangeLog b/capplets/sound/ChangeLog index a6a4e0e4b..c1d34edeb 100644 --- a/capplets/sound/ChangeLog +++ b/capplets/sound/ChangeLog @@ -1,3 +1,8 @@ +2007-04-03 Jens Granseuer + + * sound-properties-capplet.c: (remove_device): move function inside + USE_HAL + 2007-04-03 Jens Granseuer Patch by: Matthias Clasen diff --git a/capplets/sound/sound-properties-capplet.c b/capplets/sound/sound-properties-capplet.c index 9190741f2..d37652168 100644 --- a/capplets/sound/sound-properties-capplet.c +++ b/capplets/sound/sound-properties-capplet.c @@ -330,6 +330,7 @@ add_device (int type, const gchar *pipeline, const gchar *description, const gch } } +#if USE_HAL static void remove_device (int type, const gchar *pipeline) { @@ -381,7 +382,6 @@ remove_device (int type, const gchar *pipeline) } } -#if USE_HAL static void device_added_callback (LibHalContext *ctx, const char *udi) {