gimp_input_device_store_type should be set to G_TYPE_NONE in the

2007-02-19  Manish Singh  <yosh@gimp.org>

        * modules/gimpinputdevicestore.c: gimp_input_device_store_type
        should be set to G_TYPE_NONE in the !HAVE_LIBHAL case.

        * modules/controller_linux_input.c: we can't use
        GIMP_TYPE_INPUT_DEVICE_STORE in the !HAVE_LIBHAL case.

svn path=/trunk/; revision=21954
This commit is contained in:
Manish Singh
2007-02-19 20:09:49 +00:00
committed by Manish Singh
parent 9c1d2f0167
commit bcd35aa008
3 changed files with 11 additions and 1 deletions

View File

@ -250,11 +250,13 @@ linux_input_class_init (ControllerLinuxInputClass *klass)
_("The name of the device to read Linux Input events from."),
NULL,
GIMP_CONFIG_PARAM_FLAGS));
#ifdef HAVE_LIBHAL
g_object_class_install_property (object_class, PROP_DEVICE_STORE,
g_param_spec_object ("device-values",
NULL, NULL,
GIMP_TYPE_INPUT_DEVICE_STORE,
G_PARAM_READABLE));
#endif
controller_class->name = _("Linux Input");
controller_class->help_id = "gimp-controller-linux-input";