mirror of https://github.com/GNOME/gimp.git
Fixed a segv that happened when I compiled with xinput=xfree, but had
no input devices.
This commit is contained in:
parent
b3c6723388
commit
484e10ac36
|
@ -1,3 +1,8 @@
|
|||
Wed Nov 25 21:41:52 1998 Raph Levien <raph@gimp.org>
|
||||
|
||||
* app/devices.c (devices_restore): Fixed a segv - now it returns
|
||||
when there are no devices configured.
|
||||
|
||||
Wed Nov 25 22:12:50 CET 1998 Marc Lehmann <pcg@goof.com>
|
||||
|
||||
* plug-ins/script-fu/scripts/line-nova.scm,
|
||||
|
|
|
@ -235,6 +235,9 @@ devices_restore()
|
|||
tmp_list = tmp_list->next;
|
||||
}
|
||||
|
||||
if (device_info == NULL)
|
||||
return;
|
||||
|
||||
suppress_update = TRUE;
|
||||
|
||||
if (device_info->is_init)
|
||||
|
|
|
@ -235,6 +235,9 @@ devices_restore()
|
|||
tmp_list = tmp_list->next;
|
||||
}
|
||||
|
||||
if (device_info == NULL)
|
||||
return;
|
||||
|
||||
suppress_update = TRUE;
|
||||
|
||||
if (device_info->is_init)
|
||||
|
|
|
@ -235,6 +235,9 @@ devices_restore()
|
|||
tmp_list = tmp_list->next;
|
||||
}
|
||||
|
||||
if (device_info == NULL)
|
||||
return;
|
||||
|
||||
suppress_update = TRUE;
|
||||
|
||||
if (device_info->is_init)
|
||||
|
|
|
@ -235,6 +235,9 @@ devices_restore()
|
|||
tmp_list = tmp_list->next;
|
||||
}
|
||||
|
||||
if (device_info == NULL)
|
||||
return;
|
||||
|
||||
suppress_update = TRUE;
|
||||
|
||||
if (device_info->is_init)
|
||||
|
|
|
@ -235,6 +235,9 @@ devices_restore()
|
|||
tmp_list = tmp_list->next;
|
||||
}
|
||||
|
||||
if (device_info == NULL)
|
||||
return;
|
||||
|
||||
suppress_update = TRUE;
|
||||
|
||||
if (device_info->is_init)
|
||||
|
|
Loading…
Reference in New Issue