accel-location: Some style changes
This commit is contained in:
@@ -36,10 +36,10 @@ parse_accel_location (const char *location, AccelLocation *value)
|
|||||||
/* Empty string means we use the display location */
|
/* Empty string means we use the display location */
|
||||||
if (location == NULL ||
|
if (location == NULL ||
|
||||||
*location == '\0' ||
|
*location == '\0' ||
|
||||||
(g_strcmp0 (location, "display") == 0)) {
|
g_str_equal (location, "display")) {
|
||||||
*value = ACCEL_LOCATION_DISPLAY;
|
*value = ACCEL_LOCATION_DISPLAY;
|
||||||
return TRUE;
|
return TRUE;
|
||||||
} else if (g_strcmp0 (location, "base") == 0) {
|
} else if (g_str_equal (location, "base")) {
|
||||||
*value = ACCEL_LOCATION_BASE;
|
*value = ACCEL_LOCATION_BASE;
|
||||||
return TRUE;
|
return TRUE;
|
||||||
} else {
|
} else {
|
||||||
|
Reference in New Issue
Block a user