diff options
author | Richard Hughes <richard@hughsie.com> | 2011-10-10 15:27:25 +0100 |
---|---|---|
committer | Richard Hughes <richard@hughsie.com> | 2011-10-10 15:29:17 +0100 |
commit | 7e6c0ffd697cc39bc55e6b2b752ef75fa089714a (patch) | |
tree | e4703b9445f23a982cae9dd4a7484d69f3a71970 /gusb/gusb-device-list.h | |
parent | 998cf93dabec106a784ec01d2ec9f660263fc5a5 (diff) | |
download | gusb-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.h | 7 |
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 |