Imported Upstream version 2.3.6

This commit is contained in:
Ari Pollak
2010-08-11 01:18:19 -04:00
parent 7802c3a9cb
commit de5dc4f4c2
3129 changed files with 762016 additions and 525609 deletions

View File

@ -30,8 +30,11 @@
#include <linux/input.h>
#include <glib/gstdio.h>
#include <gtk/gtk.h>
#include "libgimpconfig/gimpconfig.h"
#include "libgimpmodule/gimpmodule.h"
#include "libgimpwidgets/gimpwidgets.h"
@ -219,9 +222,7 @@ linux_input_class_init (ControllerLinuxInputClass *klass)
_("Device:"),
_("The name of the device to read Linux Input events from."),
NULL,
G_PARAM_READWRITE |
G_PARAM_CONSTRUCT |
GIMP_MODULE_PARAM_SERIALIZE));
GIMP_CONFIG_PARAM_FLAGS));
controller_class->name = _("Linux Input");
controller_class->help_id = "gimp-controller-linux-input";
@ -354,7 +355,7 @@ linux_input_set_device (ControllerLinuxInput *controller,
gchar *state;
gint fd;
fd = open (controller->device, O_RDONLY);
fd = g_open (controller->device, O_RDONLY, 0);
if (fd >= 0)
{