2023-09-12 10:20:52 +02:00
|
|
|
Index: b/plugins/media-keys/gsd-media-keys-manager.c
|
|
|
|
===================================================================
|
|
|
|
--- a/plugins/media-keys/gsd-media-keys-manager.c
|
|
|
|
+++ b/plugins/media-keys/gsd-media-keys-manager.c
|
|
|
|
@@ -350,7 +350,7 @@ get_key_string (MediaKey *key)
|
2019-10-04 17:46:22 +02:00
|
|
|
else if (key->custom_path != NULL)
|
2018-03-09 11:09:06 +01:00
|
|
|
return g_strdup_printf ("custom:%s", key->custom_path);
|
|
|
|
else
|
2019-10-04 17:46:22 +02:00
|
|
|
- g_assert_not_reached ();
|
|
|
|
+ return NULL;
|
2018-03-09 11:09:06 +01:00
|
|
|
}
|
|
|
|
|
2019-10-04 17:46:22 +02:00
|
|
|
static GStrv
|
2023-09-12 10:20:52 +02:00
|
|
|
@@ -392,7 +392,7 @@ get_bindings (GsdMediaKeysManager *manag
|
2019-10-04 17:46:22 +02:00
|
|
|
key->custom_path);
|
|
|
|
binding = g_settings_get_string (settings, "binding");
|
2018-03-09 11:09:06 +01:00
|
|
|
} else
|
2019-10-04 17:46:22 +02:00
|
|
|
- g_assert_not_reached ();
|
|
|
|
+ return NULL;
|
2018-03-09 11:09:06 +01:00
|
|
|
|
2019-10-04 17:46:22 +02:00
|
|
|
array = g_ptr_array_new ();
|
|
|
|
g_ptr_array_add (array, binding);
|
2023-09-12 10:20:52 +02:00
|
|
|
Index: b/plugins/rfkill/rfkill-glib.c
|
|
|
|
===================================================================
|
|
|
|
--- a/plugins/rfkill/rfkill-glib.c
|
|
|
|
+++ b/plugins/rfkill/rfkill-glib.c
|
2019-10-04 17:46:22 +02:00
|
|
|
@@ -268,7 +268,7 @@ op_to_string (unsigned int op)
|
|
|
|
case RFKILL_OP_CHANGE_ALL:
|
2018-03-09 11:09:06 +01:00
|
|
|
return "CHANGE_ALL";
|
|
|
|
default:
|
2019-10-04 17:46:22 +02:00
|
|
|
- g_assert_not_reached ();
|
|
|
|
+ return "NULL";
|
2018-03-09 11:09:06 +01:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2023-09-12 10:20:52 +02:00
|
|
|
Index: b/plugins/xsettings/xsettings-manager.c
|
|
|
|
===================================================================
|
|
|
|
--- a/plugins/xsettings/xsettings-manager.c
|
|
|
|
+++ b/plugins/xsettings/xsettings-manager.c
|
|
|
|
@@ -271,7 +271,7 @@ xsettings_get_typecode (GVariant *value)
|
2019-10-04 17:46:22 +02:00
|
|
|
case G_VARIANT_CLASS_TUPLE:
|
2018-03-09 11:09:06 +01:00
|
|
|
return XSETTINGS_TYPE_COLOR;
|
|
|
|
default:
|
2019-10-04 17:46:22 +02:00
|
|
|
- g_assert_not_reached ();
|
2018-03-09 11:09:06 +01:00
|
|
|
+ return NULL;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|