"n_events" went back from guint to gint.
guint32 start,
guint32 stop,
GdkTimeCoord ***events,
- guint *n_events)
+ gint *n_events)
{
g_return_val_if_fail (GDK_IS_DEVICE (device), FALSE);
g_return_val_if_fail (GDK_IS_WINDOW (window), FALSE);
GdkTimeCoord **
_gdk_device_allocate_history (GdkDevice *device,
- guint n_events)
+ gint n_events)
{
GdkTimeCoord **result = g_new (GdkTimeCoord *, n_events);
gint i;
guint32 start,
guint32 stop,
GdkTimeCoord ***events,
- guint *n_events);
+ gint *n_events);
void gdk_device_free_history (GdkTimeCoord **events,
gint n_events);
guint32 start,
guint32 stop,
GdkTimeCoord ***events,
- guint *n_events);
+ gint *n_events);
void (* get_state) (GdkDevice *device,
GdkWindow *window,
gdouble *axis_value);
GdkTimeCoord ** _gdk_device_allocate_history (GdkDevice *device,
- guint n_events);
+ gint n_events);
void _gdk_input_check_extension_events (GdkDevice *device);
guint32 start,
guint32 stop,
GdkTimeCoord ***events,
- guint *n_events);
+ gint *n_events);
static void gdk_device_core_get_state (GdkDevice *device,
GdkWindow *window,
gdouble *axes,
guint32 start,
guint32 stop,
GdkTimeCoord ***events,
- guint *n_events)
+ gint *n_events)
{
return FALSE;
}
guint32 start,
guint32 stop,
GdkTimeCoord ***events,
- guint *n_events);
+ gint *n_events);
static void gdk_device_win32_get_state (GdkDevice *device,
GdkWindow *window,
gdouble *axes,
guint32 start,
guint32 stop,
GdkTimeCoord ***events,
- guint *n_events)
+ gint *n_events)
{
return FALSE;
}
guint32 start,
guint32 stop,
GdkTimeCoord ***events,
- guint *n_events);
+ gint *n_events);
static void gdk_device_wintab_get_state (GdkDevice *device,
GdkWindow *window,
gdouble *axes,
guint32 start,
guint32 stop,
GdkTimeCoord ***events,
- guint *n_events)
+ gint *n_events)
{
return FALSE;
}
guint32 start,
guint32 stop,
GdkTimeCoord ***events,
- guint *n_events);
+ gint *n_events);
static void gdk_device_core_get_state (GdkDevice *device,
GdkWindow *window,
gdouble *axes,
guint32 start,
guint32 stop,
GdkTimeCoord ***events,
- guint *n_events)
+ gint *n_events)
{
GdkWindowObject *priv;
XTimeCoord *xcoords;
guint32 start,
guint32 stop,
GdkTimeCoord ***events,
- guint *n_events);
+ gint *n_events);
static void gdk_device_xi_get_state (GdkDevice *device,
GdkWindow *window,
guint32 start,
guint32 stop,
GdkTimeCoord ***events,
- guint *n_events)
+ gint *n_events)
{
GdkTimeCoord **coords;
XDeviceTimeCoord *device_coords;
if (!device_coords)
return FALSE;
- *n_events = (guint) n_events_return;
+ *n_events = n_events_return;
coords = _gdk_device_allocate_history (device, *n_events);
for (i = 0; i < *n_events; i++)