Use the parent type in the G_DEFINE_TYPE macro, not its own type (fixes rh

2004-08-22  Jeroen Zwartepoorte  <jeroen@xs4all.nl>

	* actions/acme-fb-level.c: Use the parent type in the G_DEFINE_TYPE
	macro, not its own type (fixes rh #130473).
This commit is contained in:
Jeroen Zwartepoorte 2004-08-22 12:17:03 +00:00 committed by Jeroen Zwartepoorte
parent b96a71361c
commit c392d60376
2 changed files with 6 additions and 1 deletions

View file

@ -1,3 +1,8 @@
2004-08-22 Jeroen Zwartepoorte <jeroen@xs4all.nl>
* actions/acme-fb-level.c: Use the parent type in the G_DEFINE_TYPE
macro, not its own type (fixes rh #130473).
2004-07-16 Bastien Nocera <hadess@hadess.net> 2004-07-16 Bastien Nocera <hadess@hadess.net>
* actions/acme-volume-alsa.c: (acme_volume_alsa_finalize), * actions/acme-volume-alsa.c: (acme_volume_alsa_finalize),

View file

@ -40,7 +40,7 @@
#define PMU_IOC_GRAB_BACKLIGHT _IOR('B', 6, 0) #define PMU_IOC_GRAB_BACKLIGHT _IOR('B', 6, 0)
#endif #endif
G_DEFINE_TYPE (AcmeFblevel, acme_fblevel, ACME_TYPE_FBLEVEL) G_DEFINE_TYPE (AcmeFblevel, acme_fblevel, G_TYPE_OBJECT)
struct AcmeFblevelPrivate { struct AcmeFblevelPrivate {
int pmu_fd; int pmu_fd;