summaryrefslogtreecommitdiff
path: root/gusb/gusb-device-list.h
diff options
context:
space:
mode:
authorRichard Hughes <richard@hughsie.com>2011-10-10 15:27:25 +0100
committerRichard Hughes <richard@hughsie.com>2011-10-10 15:29:17 +0100
commit7e6c0ffd697cc39bc55e6b2b752ef75fa089714a (patch)
treee4703b9445f23a982cae9dd4a7484d69f3a71970 /gusb/gusb-device-list.h
parent998cf93dabec106a784ec01d2ec9f660263fc5a5 (diff)
downloadgusb-7e6c0ffd697cc39bc55e6b2b752ef75fa089714a.tar.gz
Do not leak the GUdev API into the public API of GUsb
I'm aware this changes API, but it's the right thing to do.
Diffstat (limited to 'gusb/gusb-device-list.h')
-rw-r--r--gusb/gusb-device-list.h7
1 files changed, 2 insertions, 5 deletions
diff --git a/gusb/gusb-device-list.h b/gusb/gusb-device-list.h
index 29eed0e..39590c0 100644
--- a/gusb/gusb-device-list.h
+++ b/gusb/gusb-device-list.h
@@ -23,7 +23,6 @@
#define __GUSB_DEVICE_LIST_H__
#include <glib-object.h>
-#include <gudev/gudev.h>
#include <gusb/gusb-context.h>
#include <gusb/gusb-device.h>
@@ -50,11 +49,9 @@ struct _GUsbDeviceListClass
GObjectClass parent_class;
/* Signals */
void (*device_added) (GUsbDeviceList *list,
- GUsbDevice *device,
- GUdevDevice *udev);
+ GUsbDevice *device);
void (*device_removed) (GUsbDeviceList *list,
- GUsbDevice *device,
- GUdevDevice *udev);
+ GUsbDevice *device);
/*< private >*/
/*
* If adding fields to this struct, remove corresponding