move function inside USE_HAL

2007-04-03  Jens Granseuer  <jensgr@gmx.net>

	* sound-properties-capplet.c: (remove_device): move function inside
	USE_HAL

svn path=/trunk/; revision=7438
This commit is contained in:
Jens Granseuer 2007-04-03 19:17:47 +00:00 committed by Jens Granseuer
parent 3804bf4a44
commit 66283c87ed
2 changed files with 6 additions and 1 deletions

View file

@ -1,3 +1,8 @@
2007-04-03 Jens Granseuer <jensgr@gmx.net>
* sound-properties-capplet.c: (remove_device): move function inside
USE_HAL
2007-04-03 Jens Granseuer <jensgr@gmx.net>
Patch by: Matthias Clasen <mclasen@redhat.com>

View file

@ -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)
{