Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 265046
Collapse All | Expand All

(-)gnome-power-manager-2.24.4-orig/src/gpm-button.c (-1 / +1 lines)
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 */

Return to bug 265046