Lines 307-313
Link Here
|
307 |
g_return_if_fail (device != NULL); |
307 |
g_return_if_fail (device != NULL); |
308 |
g_return_if_fail (details != NULL); |
308 |
g_return_if_fail (details != NULL); |
309 |
|
309 |
|
310 |
if (strcmp (details, "") == 0) { |
310 |
if (strlen (details) == 0) { |
311 |
/* no details about the event, so we get more info for type 1 buttons */ |
311 |
/* no details about the event, so we get more info for type 1 buttons */ |
312 |
hal_gdevice_get_string (device, "button.type", &type, NULL); |
312 |
hal_gdevice_get_string (device, "button.type", &type, NULL); |
313 |
/* hal may no longer be there */ |
313 |
/* hal may no longer be there */ |